Commit af777821 authored by Jakub Sztandera's avatar Jakub Sztandera

block/blockstore: bloomcache PutMany logic was not adding to ARC

License: MIT
Signed-off-by: default avatarJakub Sztandera <kubuxu@protonmail.ch>
parent e85a39c6
...@@ -169,6 +169,7 @@ func (b *bloomcache) PutMany(bs []blocks.Block) error { ...@@ -169,6 +169,7 @@ func (b *bloomcache) PutMany(bs []blocks.Block) error {
if err == nil { if err == nil {
for _, block := range bs { for _, block := range bs {
b.bloom.AddTS([]byte(block.Key())) b.bloom.AddTS([]byte(block.Key()))
b.arc.Add(block.Key(), true)
} }
} }
return err return err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment