Vclock metadata change

Test performance ocntinues to be worse since the vlock metadata change.
Reversing out juts in case.
This commit is contained in:
martinsumner 2017-03-21 18:15:56 +00:00
parent 756b46bb4d
commit f108871691

View file

@ -433,7 +433,8 @@ riak_extract_metadata(ObjBin, Size) ->
%% <<?MAGIC:8/integer, ?V1_VERS:8/integer, VclockLen:32/integer,
%%% VclockBin/binary, SibCount:32/integer, SibsBin/binary>>.
riak_metadata_to_binary(VclockBin, SibData) ->
riak_metadata_to_binary(Vclock, SibData) ->
VclockBin = term_to_binary(Vclock),
VclockLen = byte_size(VclockBin),
% <<?MAGIC:8/integer, ?V1_VERS:8/integer, VclockLen:32/integer,
% VclockBin:VclockLen/binary, SibData:32/integer>>.
@ -454,7 +455,7 @@ riak_metadata_from_binary(V1Binary) ->
SC when is_integer(SC) ->
get_metadata_from_siblings(SibsBin, SibCount, [])
end,
{VclockBin, SibMetaBinList}.
{binary_to_term(VclockBin), SibMetaBinList}.
% Fixes the value length for each sibling to be zero, and so includes no value
slimbin_content(MetaBin) ->