Skip to content

Commit

Permalink
owner: fix unlimited log print "meet lease not found error, refresh s…
Browse files Browse the repository at this point in the history
…ession" (#57564)

close #57533
  • Loading branch information
tiancaiamao authored Nov 20, 2024
1 parent db4d19b commit 2ce67f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/owner/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ func (m *ownerManager) campaignLoop(campaignContext context.Context) {
// In this time if we do the campaign operation, the etcd server will return ErrLeaseNotFound.
if terror.ErrorEqual(err, rpctypes.ErrLeaseNotFound) {
close(leaseNotFoundCh)
err = nil
continue
}

Expand Down

0 comments on commit 2ce67f8

Please sign in to comment.