[skip e2e] Add comment for Compaction method in session_manager.go (#13858)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/13766/head
congqixia 2021-12-21 15:36:05 +08:00 committed by GitHub
parent 91194400e8
commit 6f63635686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ func (c *SessionManager) execFlush(ctx context.Context, nodeID int64, req *datap
log.Debug("success to flush", zap.Int64("node", nodeID), zap.Any("segments", req))
}
// Compaction is a grpc interface. It will send request to DataNode with provided `nodeID` asynchronously.
func (c *SessionManager) Compaction(nodeID int64, plan *datapb.CompactionPlan) {
go c.execCompaction(nodeID, plan)
}