We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 347d86f commit 9c24bd1Copy full SHA for 9c24bd1
1 file changed
tok/partitioned_hnsw/partitioned_hnsw.go
@@ -108,10 +108,10 @@ func (ph *partitionedHNSW[T]) StartBuild(caches []index.CacheType) {
108
}
109
110
for i := range ph.clusterMap {
111
+ ph.buildSyncMaps[i] = &sync.Mutex{}
112
if i%NUM_PASSES != (ph.buildPass - ph.partition.NumPasses()) {
113
continue
114
- ph.buildSyncMaps[i] = &sync.Mutex{}
115
ph.clusterMap[i].StartBuild([]index.CacheType{ph.caches[i]})
116
117
0 commit comments