SibCount must be non-zero
This commit is contained in:
parent
44471ecc0a
commit
a9101e4781
1 changed files with 0 additions and 2 deletions
|
@ -369,8 +369,6 @@ riak_metadata_from_binary(V1Binary) ->
|
||||||
<<VclockBin:VclockLen/binary, SibCount:32/integer, SibsBin/binary>> = Rest,
|
<<VclockBin:VclockLen/binary, SibCount:32/integer, SibsBin/binary>> = Rest,
|
||||||
SibMetaBinList =
|
SibMetaBinList =
|
||||||
case SibCount of
|
case SibCount of
|
||||||
0 ->
|
|
||||||
[];
|
|
||||||
SC when is_integer(SC) ->
|
SC when is_integer(SC) ->
|
||||||
get_metadata_from_siblings(SibsBin, SibCount, [])
|
get_metadata_from_siblings(SibsBin, SibCount, [])
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue