mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for getPrimaryKeys (#13116)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
cbf284ab35
commit
acd59cd380
@ -326,7 +326,7 @@ func (iNode *insertNode) delete(deleteData *deleteData, segmentID UniqueID, wg *
|
||||
}
|
||||
|
||||
// TODO: remove this function to proper file
|
||||
// TODO: why not return error?
|
||||
// getPrimaryKeys would get primary keys by insert messages
|
||||
func getPrimaryKeys(msg *msgstream.InsertMsg, streamingReplica ReplicaInterface) ([]int64, error) {
|
||||
if len(msg.RowIDs) != len(msg.Timestamps) || len(msg.RowIDs) != len(msg.RowData) {
|
||||
log.Warn("misaligned messages detected")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user