Skip to content

Commit

Permalink
streamhelper/advancer: Fix owner transfer metric (#42422)
Browse files Browse the repository at this point in the history
close #42419
  • Loading branch information
YuJuncen authored Sep 4, 2024
1 parent 7ea6526 commit 7d9b76c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions br/pkg/streamhelper/advancer_daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (c *CheckpointAdvancer) Name() string {

func (c *CheckpointAdvancer) OnStop() {
metrics.AdvancerOwner.Set(0.0)
metrics.LastCheckpoint.Reset()
c.stopSubscriber()
}

Expand Down

0 comments on commit 7d9b76c

Please sign in to comment.