You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix this we need to change the line to return Acc, change the bulk crc check to not happen if require_hint_crc is false, and also to maintain safety, we should default require_hint_crc to true.
The text was updated successfully, but these errors were encountered:
https://github.com/basho/bitcask/blob/1.6/src/bitcask_fileops.erl#L477 should return
Acc
, not<<>>
. The empty binary looks sensible but it actually breaks the fold. This essentially forcesrequire_hint_crc
totrue
even though it defaults to false.To fix this we need to change the line to return
Acc
, change the bulk crc check to not happen ifrequire_hint_crc
is false, and also to maintain safety, we should defaultrequire_hint_crc
totrue
.The text was updated successfully, but these errors were encountered: