mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-08 03:47:51 +00:00
use the txf to determine if snapshots are needed
This commit is contained in:
parent
aaf94c6aeb
commit
eab70e2314
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ func (h *Holder) NeedsSnapshot() bool {
|
|||
h.mu.RLock()
|
||||
defer h.mu.RUnlock()
|
||||
|
||||
return h.cfg.Txsrc == "roaring"
|
||||
return h.txf.NeedsSnapshot()
|
||||
}
|
||||
|
||||
// HasData returns true if Holder contains at least one index.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue