Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <admin@liudos.us>
  • Loading branch information
lhy1024 authored and ti-chi-bot committed Nov 7, 2024
1 parent aed6ace commit 15a069e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ func (c *RaftCluster) runServiceCheckJob() {
case <-tsoTicker.C:
// ensure raft cluster is running
// avoid unexpected startTSOJobsIfNeeded when raft cluster is stopping
// ref: https://github.com/tikv/pd/issues/8781
c.RLock()
if c.running {
c.checkTSOService()
Expand Down

0 comments on commit 15a069e

Please sign in to comment.