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

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
This commit is contained in:
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

View File

@ -28,9 +28,9 @@ type timetravel struct {
type trigger interface {
start()
stop()
// triggerCompaction trigger a compaction if any compaction condition satisfy.
// triggerCompaction triggers a compaction if any compaction condition satisfy.
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
// forceTriggerCompaction force to start a compaction
forceTriggerCompaction(collectionID int64, timetravel *timetravel) (UniqueID, error)