Skip to content

Commit

Permalink
tso: remove local tso code part 2 (#8846)
Browse files Browse the repository at this point in the history
ref #8802

Signed-off-by: okJiang <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
okJiang and ti-chi-bot[bot] authored Nov 25, 2024
1 parent 19c54c8 commit 21a04cb
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 894 deletions.
10 changes: 0 additions & 10 deletions errors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -901,16 +901,6 @@ error = '''
reset user timestamp failed, %s
'''

["PD:tso:ErrSetLocalTSOConfig"]
error = '''
set local tso config failed, %s
'''

["PD:tso:ErrSyncMaxTS"]
error = '''
sync max ts failed, %s
'''

["PD:tso:ErrUpdateTimestamp"]
error = '''
update timestamp failed, %s
Expand Down
2 changes: 0 additions & 2 deletions pkg/errs/errno.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ var (

// tso errors
var (
ErrSetLocalTSOConfig = errors.Normalize("set local tso config failed, %s", errors.RFCCodeText("PD:tso:ErrSetLocalTSOConfig"))
ErrGetAllocator = errors.Normalize("get allocator failed, %s", errors.RFCCodeText("PD:tso:ErrGetAllocator"))
ErrGetLocalAllocator = errors.Normalize("get local allocator failed, %s", errors.RFCCodeText("PD:tso:ErrGetLocalAllocator"))
ErrSyncMaxTS = errors.Normalize("sync max ts failed, %s", errors.RFCCodeText("PD:tso:ErrSyncMaxTS"))
ErrResetUserTimestamp = errors.Normalize("reset user timestamp failed, %s", errors.RFCCodeText("PD:tso:ErrResetUserTimestamp"))
ErrGenerateTimestamp = errors.Normalize("generate timestamp failed, %s", errors.RFCCodeText("PD:tso:ErrGenerateTimestamp"))
ErrUpdateTimestamp = errors.Normalize("update timestamp failed, %s", errors.RFCCodeText("PD:tso:ErrUpdateTimestamp"))
Expand Down
Loading

0 comments on commit 21a04cb

Please sign in to comment.