Skip to content

Commit

Permalink
block/blockstore: bloomcache PutMany logic was not adding to ARC
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu committed Jul 8, 2016
1 parent bf3c68e commit 3b8980d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blocks/blockstore/bloom_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func (b *bloomcache) PutMany(bs []blocks.Block) error {
if err == nil {
for _, block := range bs {
b.bloom.AddTS([]byte(block.Key()))
b.arc.Add(block.Key(), true)
}
}
return err
Expand Down

0 comments on commit 3b8980d

Please sign in to comment.