Skip to content

Commit

Permalink
Add logutil.LogPanic()
Browse files Browse the repository at this point in the history
Signed-off-by: JmPotato <ghzpotato@gmail.com>
  • Loading branch information
JmPotato committed Jul 10, 2023
1 parent 31a1f03 commit 418ef5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/keyspace/tso_keyspace_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,7 @@ func (m *GroupManager) FinishMergeKeyspaceByID(mergeTargetID uint32) error {

// MergeAllIntoDefaultKeyspaceGroup merges all other keyspace groups into the default keyspace group.
func (m *GroupManager) MergeAllIntoDefaultKeyspaceGroup() error {
defer logutil.LogPanic()
mergedGroupNum := 0
for i := 0; i < int(endpoint.UserKindCount); i++ {
userKind := endpoint.UserKind(i)
Expand Down

0 comments on commit 418ef5c

Please sign in to comment.