diff --git a/src/leveled_iclerk.erl b/src/leveled_iclerk.erl index afc2c8c..d69dd92 100644 --- a/src/leveled_iclerk.erl +++ b/src/leveled_iclerk.erl @@ -307,7 +307,11 @@ handle_cast({compact, Checker, InitiateFun, CloseFun, FilterFun, Manifest0}, % Don't want to process a queued call waiting on an old manifest [_Active|Manifest] = Manifest0, {FilterServer, MaxSQN} = InitiateFun(Checker), - ok = clerk_scorefilelist(self(), Manifest), + NotRollingFun = + fun({_LowSQN, _FN, Pid, _LK}) -> + not leveled_cdb:cdb_isrolling(Pid) + end, + ok = clerk_scorefilelist(self(), lists:filter(NotRollingFun, Manifest)), ScoringState = #scoring_state{filter_fun = FilterFun, filter_server = FilterServer, diff --git a/test/end_to_end/riak_SUITE.erl b/test/end_to_end/riak_SUITE.erl index 5e82ce7..da51127 100644 --- a/test/end_to_end/riak_SUITE.erl +++ b/test/end_to_end/riak_SUITE.erl @@ -905,7 +905,7 @@ handoff(_Config) -> {sync_strategy, sync}], {ok, Bookie1} = leveled_bookie:book_start(StartOpts1), - % Add some noe Riak objects in - which should be ignored in folds. + % Add some none Riak objects in - which should be ignored in folds. Hashes = testutil:stdload(Bookie1, 1000), % Generate 200K objects to be used within the test, and load them into % the first store (outputting the generated objects as a list of lists)