mirror of https://github.com/tikv/client-go.git
Fix CurrentAllTSOKeyspaceGroupMinTs name (#1255)
This commit is contained in:
parent
6fda9debc2
commit
69310ffc49
|
|
@ -425,8 +425,8 @@ func (s *KVStore) CurrentTimestamp(txnScope string) (uint64, error) {
|
||||||
return startTS, nil
|
return startTS, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// CurrentAllTSOKeyspaceMinTsGroup returns a minimum timestamp from all TSO keyspace groups.
|
// CurrentAllTSOKeyspaceGroupMinTs returns a minimum timestamp from all TSO keyspace groups.
|
||||||
func (s *KVStore) CurrentAllTSOKeyspaceMinTsGroup() (uint64, error) {
|
func (s *KVStore) CurrentAllTSOKeyspaceGroupMinTs() (uint64, error) {
|
||||||
bo := retry.NewBackofferWithVars(context.Background(), transaction.TsoMaxBackoff, nil)
|
bo := retry.NewBackofferWithVars(context.Background(), transaction.TsoMaxBackoff, nil)
|
||||||
startTS, err := s.getAllTSOKeyspaceGroupMinTSWithRetry(bo)
|
startTS, err := s.getAllTSOKeyspaceGroupMinTSWithRetry(bo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue