From a7cda7213f7cf5475bb9993b8d311c898a0a8004 Mon Sep 17 00:00:00 2001 From: Martin Sumner Date: Wed, 16 May 2018 11:06:51 +0100 Subject: [PATCH] Debug logs --- src/leveled_sst.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/leveled_sst.erl b/src/leveled_sst.erl index 74258a7..09de726 100644 --- a/src/leveled_sst.erl +++ b/src/leveled_sst.erl @@ -1381,8 +1381,11 @@ read_slots(Handle, SlotList, {SegList, BlockIndexCache}, PressMethod) -> % other keys case find_pos(BlockIdx, SegList, [], 0) of [] -> + io:format("Empty postion list for slot~n"), Acc; PositionList -> + io:format("~w positions found for slot~n", + [length(PositionList)]), Acc ++ check_blocks(PositionList, Handle, SP,