From 0ce5245e5a98cf80e2e892a756f8facbf810a3c0 Mon Sep 17 00:00:00 2001 From: Travis Date: Tue, 7 Mar 2017 08:34:29 -0600 Subject: [PATCH] turn on bitmapCache support in openCache() --- fragment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragment.go b/fragment.go index 51259585a..155741146 100644 --- a/fragment.go +++ b/fragment.go @@ -245,7 +245,7 @@ func (f *Fragment) openCache() error { // This will cause them to be added to the cache. for _, bitmapID := range pb.BitmapIDs { //n := f.storage.CountRange(bitmapID*SliceWidth, (bitmapID+1)*SliceWidth) - n := f.bitmap(bitmapID, true, false).Count() + n := f.bitmap(bitmapID, true, true).Count() f.cache.BulkAdd(bitmapID, n) } f.cache.Invalidate()