block/blockstore: bloomcache PutMany logic was not adding to ARC
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
Jul 5, 2016 at 16:59 UTC
af7778213c6200229a80bc1610499d4ba3685f73
1 file changed
+1
blocks/blockstore/bloom_cache.go
+1
@@ -169,6 +169,7 @@ func (b *bloomcache) PutMany(bs []blocks.Block) error {
169
if err == nil {
170
for _, block := range bs {
171
b.bloom.AddTS([]byte(block.Key()))
172
+ b.arc.Add(block.Key(), true)
173
}
174
}
175
return err