mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
optimize container after remove
This commit is contained in:
parent
d322cc7aef
commit
dc7493ff75
1 changed files with 2 additions and 0 deletions
2
rbf.go
2
rbf.go
|
|
@ -253,6 +253,8 @@ func (tx *RBFTx) RemoveChannel(index, field, view string, shard uint64, a chan u
|
|||
return
|
||||
}
|
||||
} else {
|
||||
rc = roaring.Optimize(rc)
|
||||
|
||||
err = tx.tx.PutContainer(name, lastHi, rc)
|
||||
if err != nil {
|
||||
resChan <- countResults{0, errors.Wrap(err, "failed to put container")}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue