Skip to content

Commit 75e1578

Browse files
added filter for vector lengths
1 parent 920cc89 commit 75e1578

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

posting/index.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ func (mp *MutationPipeline) ProcessCount(ctx context.Context, pipeline *Predicat
528528
if updated {
529529
if !info.isList {
530530
if !info.noConflict {
531-
//mp.txn.addConflictKey(farm.Fingerprint64(dataKey))
531+
mp.txn.addConflictKey(farm.Fingerprint64(dataKey))
532532
}
533533
} else {
534534
mp.txn.addConflictKeyWithUid(dataKey, postingList, info.hasUpsert, info.noConflict)
@@ -675,9 +675,9 @@ func (mp *MutationPipeline) ProcessSingle(ctx context.Context, pipeline *Predica
675675
binary.BigEndian.PutUint64(dataKey[len(dataKey)-8:], uid)
676676
key := baseKey + string(dataKey[len(dataKey)-8:])
677677

678-
if !info.noConflict {
679-
mp.txn.addConflictKey(farm.Fingerprint64([]byte(key)))
680-
}
678+
// if !info.noConflict {
679+
// mp.txn.addConflictKey(farm.Fingerprint64([]byte(key)))
680+
// }
681681

682682
if _, err := mp.txn.AddDelta(key, *pl); err != nil {
683683
return err

0 commit comments

Comments
 (0)