mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-10 21:07:53 +00:00
lint fix
This commit is contained in:
parent
ef5a8cefef
commit
5590f1d954
1 changed files with 0 additions and 7 deletions
7
field.go
7
field.go
|
|
@ -413,13 +413,6 @@ func (f *Field) AvailableShards() *roaring.Bitmap {
|
|||
return b
|
||||
}
|
||||
|
||||
// constainsShard is used for limiting unnecessary CreateShard broadcast
|
||||
func (f *Field) containsShard(shard uint64) bool {
|
||||
f.mu.RLock()
|
||||
defer f.mu.RUnlock()
|
||||
return f.remoteAvailableShards.Contains(shard)
|
||||
}
|
||||
|
||||
// AddRemoteAvailableShards merges the set of available shards into the current known set
|
||||
// and saves the set to a file.
|
||||
func (f *Field) AddRemoteAvailableShards(b *roaring.Bitmap) error {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue