mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
Fixes broken index sync test.
This commit is contained in:
parent
dd63382ed3
commit
8d05f56df0
1 changed files with 2 additions and 2 deletions
4
frame.go
4
frame.go
|
|
@ -218,7 +218,7 @@ func (f *Frame) SetTimeQuantum(q TimeQuantum) error {
|
|||
// Update value on frame.
|
||||
f.timeQuantum = q
|
||||
|
||||
// Perist meta data to disk.
|
||||
// Persist meta data to disk.
|
||||
if err := f.saveMeta(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
@ -288,7 +288,7 @@ func (f *Frame) newFragment(path string, slice uint64) *Fragment {
|
|||
|
||||
// SetBit sets a bit within the frame.
|
||||
func (f *Frame) SetBit(bitmapID, profileID uint64) (changed bool, err error) {
|
||||
slice := bitmapID / SliceWidth
|
||||
slice := profileID / SliceWidth
|
||||
frag, err := f.CreateFragmentIfNotExists(slice)
|
||||
if err != nil {
|
||||
return changed, err
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue