mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 20:37:52 +00:00
add explanatory comment and move comment to correct spot
This commit is contained in:
parent
f006df7758
commit
af7d405b11
1 changed files with 4 additions and 1 deletions
|
|
@ -1330,9 +1330,12 @@ func (f *fragment) bulkImport(rowIDs, columnIDs []uint64) error {
|
|||
return fmt.Errorf("mismatch of row/column len: %d != %d", len(rowIDs), len(columnIDs))
|
||||
}
|
||||
|
||||
// Disconnect op writer so we don't append updates.
|
||||
// Create a temporary bitmap which will be populated by rowIDs and columnIDs
|
||||
// and then merged into the existing fragment's bitmap.
|
||||
localBitmap := roaring.NewBitmap()
|
||||
// Disconnect op writer so we don't append updates.
|
||||
localBitmap.OpWriter = nil
|
||||
|
||||
// Process every bit.
|
||||
// If an error occurs then reopen the storage.
|
||||
lastID := uint64(0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue