From d6b0a47248044e7b210aff894e1c43574a12c762 Mon Sep 17 00:00:00 2001 From: "edward.zeng" Date: Thu, 16 Dec 2021 09:57:25 +0800 Subject: [PATCH] [skip ci] Refine datacoord compaction trigger comment (#13483) Signed-off-by: Edward Zeng --- internal/datacoord/compaction_trigger.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/datacoord/compaction_trigger.go b/internal/datacoord/compaction_trigger.go index 56ab1419e3..3a18e1bcf9 100644 --- a/internal/datacoord/compaction_trigger.go +++ b/internal/datacoord/compaction_trigger.go @@ -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)