Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Nov 7, 2024
1 parent 0d3f514 commit dd90cc0
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 @@ -462,6 +462,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 dd90cc0

Please sign in to comment.