Add log when update pk range (#14006)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14066/head
Jiquan Long 2021-12-23 11:57:08 +08:00 committed by GitHub
parent c5d91af794
commit 0871bd3d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,11 @@ func (s *Segment) updatePKRange(pks []int64) {
s.minPK = pk
}
}
log.Info("update pk range",
zap.Int64("collectionID", s.collectionID), zap.Int64("partitionID", s.partitionID), zap.Int64("segmentID", s.segmentID),
zap.String("channel", s.channelName),
zap.Int64("num_rows", s.numRows), zap.Int64("minPK", s.minPK), zap.Int64("maxPK", s.maxPK))
}
var _ Replica = &SegmentReplica{}