From 1355938e7cf88306b949dc629c78c21ea6b97b02 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Tue, 29 Oct 2024 15:55:45 +0800 Subject: [PATCH] fix test Signed-off-by: Ryan Leung --- pkg/tso/keyspace_group_manager.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/tso/keyspace_group_manager.go b/pkg/tso/keyspace_group_manager.go index 2ab9214f67b..cdefa503a88 100644 --- a/pkg/tso/keyspace_group_manager.go +++ b/pkg/tso/keyspace_group_manager.go @@ -1102,9 +1102,6 @@ func (kgm *KeyspaceGroupManager) HandleTSORequest( if err != nil { return err } - if allocator.IsInitialize() { - return nil - } // TODO: support the Local TSO Allocator. return allocator.Initialize(0) })