Handle no-lookup hash in retain strategy
This commit is contained in:
parent
a617f8fb66
commit
24ec918eb1
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@
|
||||||
%%% API
|
%%% API
|
||||||
%%%============================================================================
|
%%%============================================================================
|
||||||
|
|
||||||
|
prepare_for_index(IndexArray, no_lookup) ->
|
||||||
|
IndexArray;
|
||||||
prepare_for_index(IndexArray, Hash) ->
|
prepare_for_index(IndexArray, Hash) ->
|
||||||
{Slot, H0} = split_hash(Hash),
|
{Slot, H0} = split_hash(Hash),
|
||||||
Bin = array:get(Slot, IndexArray),
|
Bin = array:get(Slot, IndexArray),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue