From 8c1f47fd539d957fe7fc6c162573ee21a2116b50 Mon Sep 17 00:00:00 2001 From: "y_static_y@sina.com" Date: Fri, 29 Mar 2024 15:45:54 +0800 Subject: [PATCH] code format Signed-off-by: y_static_y@sina.com --- tikv/kv.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tikv/kv.go b/tikv/kv.go index 7d2dec3cf..201596e8b 100644 --- a/tikv/kv.go +++ b/tikv/kv.go @@ -425,8 +425,8 @@ func (s *KVStore) CurrentTimestamp(txnScope string) (uint64, error) { return startTS, nil } -// CurrentAllTSOKeyspaceMinTsGroup returns a minimum timestamp from all TSO keyspace groups. -func (s *KVStore) CurrentAllTSOKeyspaceMinTsGroup() (uint64, error) { +// CurrentAllTSOKeyspaceGroupMinTs returns a minimum timestamp from all TSO keyspace groups. +func (s *KVStore) CurrentAllTSOKeyspaceGroupMinTs() (uint64, error) { bo := retry.NewBackofferWithVars(context.Background(), transaction.TsoMaxBackoff, nil) startTS, err := s.getAllTSOKeyspaceGroupMinTSWithRetry(bo) if err != nil {