mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
update some fragment comments re: the cache
This commit is contained in:
parent
3ea07ae3a7
commit
f8569102f5
1 changed files with 2 additions and 2 deletions
|
|
@ -1327,7 +1327,7 @@ func (f *fragment) mergeBlock(id int, data []pairSet) (sets, clears []pairSet, e
|
|||
}
|
||||
|
||||
// bulkImport bulk imports a set of bits and then snapshots the storage.
|
||||
// This does not affect the fragment's cache.
|
||||
// The cache is updated to reflect the new data.
|
||||
func (f *fragment) bulkImport(rowIDs, columnIDs []uint64) error {
|
||||
// Verify that there are an equal number of row ids and column ids.
|
||||
if len(rowIDs) != len(columnIDs) {
|
||||
|
|
@ -1425,7 +1425,7 @@ func (f *fragment) importValue(columnIDs, values []uint64, bitDepth uint) error
|
|||
|
||||
// importRoaringBytes imports from standard roaring data format defined at
|
||||
// https://github.com/RoaringBitmap/RoaringFormatSpec or from pilosa's version
|
||||
// of the roaring format.
|
||||
// of the roaring format. The cache is updated to reflect the new data.
|
||||
func (f *fragment) importRoaringBytes(roaringBytes []byte) error {
|
||||
f.mu.Lock()
|
||||
defer f.mu.Unlock()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue