Fix yield

Wrong format of repsonse if was delete_pending
This commit is contained in:
Martin Sumner 2018-10-30 13:00:23 +00:00
parent 7295a41321
commit 75d2e2d546

View file

@ -667,8 +667,9 @@ delete_pending({get_kvrange, StartKey, EndKey, ScanWidth, SegList},
State), State),
% Always yield as about to clear and de-reference % Always yield as about to clear and de-reference
PressMethod = State#state.compression_method, PressMethod = State#state.compression_method,
IdxModDate = State#state.index_moddate,
{reply, {reply,
{yield, SlotsToFetchBinList, SlotsToPoint, PressMethod}, {yield, SlotsToFetchBinList, SlotsToPoint, PressMethod, IdxModDate},
delete_pending, delete_pending,
State, State,
?DELETE_TIMEOUT}; ?DELETE_TIMEOUT};