[skip ci] Refine datacoord compaction trigger comment (#13483)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13499/head
edward.zeng 2021-12-16 09:57:25 +08:00 committed by GitHub
parent 5ca78ed009
commit d6b0a47248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@ type timetravel struct {
type trigger interface { type trigger interface {
start() start()
stop() stop()
// triggerCompaction trigger a compaction if any compaction condition satisfy. // triggerCompaction triggers a compaction if any compaction condition satisfy.
triggerCompaction(timetravel *timetravel) error triggerCompaction(timetravel *timetravel) error
// triggerSingleCompaction trigerr a compaction bundled with collection-partiiton-channel-segment // triggerSingleCompaction triggers a compaction bundled with collection-partition-channel-segment
triggerSingleCompaction(collectionID, partitionID, segmentID int64, channel string, timetravel *timetravel) error triggerSingleCompaction(collectionID, partitionID, segmentID int64, channel string, timetravel *timetravel) error
// forceTriggerCompaction force to start a compaction // forceTriggerCompaction force to start a compaction
forceTriggerCompaction(collectionID int64, timetravel *timetravel) (UniqueID, error) forceTriggerCompaction(collectionID int64, timetravel *timetravel) (UniqueID, error)