Add implementation of getMinTsStatistics function (#5524)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-06-01 16:50:32 +08:00 committed by zhenshan.cao
parent 62eaa0390a
commit fca3eb7126

View File

@ -52,7 +52,10 @@ type channelsTimeTickerImpl struct {
} }
func (ticker *channelsTimeTickerImpl) getMinTsStatistics() (map[pChan]Timestamp, error) { func (ticker *channelsTimeTickerImpl) getMinTsStatistics() (map[pChan]Timestamp, error) {
panic("implement me") ticker.statisticsMtx.RLock()
defer ticker.statisticsMtx.RUnlock()
return ticker.minTsStatistics, nil
} }
func (ticker *channelsTimeTickerImpl) initStatistics() { func (ticker *channelsTimeTickerImpl) initStatistics() {