diff --git a/store/sqldb/object_integrity.go b/store/sqldb/object_integrity.go index b6725dc37..f7d91ded4 100644 --- a/store/sqldb/object_integrity.go +++ b/store/sqldb/object_integrity.go @@ -434,7 +434,7 @@ func (s *SpDBImpl) DeleteReplicatePieceChecksum(objectID uint64, segmentIdx uint metrics.SPDBTime.WithLabelValues(SPDBSuccessDelReplicatePieceChecksum).Observe( time.Since(startTime).Seconds()) }() - err = s.db.Where("object_id = ? and segment_idx = ? and redundancy_index = ? ", objectID, segmentIdx, redundancyIdx).Delete(PieceHashTable{}).Error + err = s.db.Where("object_id = ? and segment_index = ? and redundancy_index = ? ", objectID, segmentIdx, redundancyIdx).Delete(PieceHashTable{}).Error return err }