From 3baa698e9f25ba18cc70b5b5fbd30828d358c29e Mon Sep 17 00:00:00 2001 From: Jiquan Long Date: Wed, 29 Dec 2021 17:25:37 +0800 Subject: [PATCH] [skip e2e] Add comment for getLastTick (#14529) Signed-off-by: dragondriver --- internal/proxy/channels_time_ticker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/proxy/channels_time_ticker.go b/internal/proxy/channels_time_ticker.go index 2f4aacbbe0..90761c0639 100644 --- a/internal/proxy/channels_time_ticker.go +++ b/internal/proxy/channels_time_ticker.go @@ -33,6 +33,7 @@ type getPChanStatisticsFuncType func() (map[pChan]*pChanStatistics, error) type channelsTimeTicker interface { start() error close() error + // getLastTick returns the last write timestamp of specific pchan. getLastTick(pchan pChan) (Timestamp, error) getMinTsStatistics() (map[pChan]Timestamp, Timestamp, error) getMinTick() Timestamp