We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CampaignLeader maybe pass if the retry time has reached campaignLeaderFrequencyTimes, but the lease maybe not success ,so the lease time is zero .
pd/server/server.go
Lines 1645 to 1655 in cf718a7
normal
"[log.go:87] [panic] [recover=\"\\\"non-positive interval for NewTicker\\\"\"] [stack=\"[github.com/tikv/pd/pkg/utils/logutil.LogPanic\\n\\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/pkg/utils/logutil/log.go:87\\nruntime.gopanic\\n\\t/usr/local/go/src/runtime/panic.go:914\\ntime.NewTicker\\n\\t/usr/local/go/src/time/tick.go:22\\ngithub.com/tikv/pd/pkg/election.(*lease).keepAliveWorker.func1\\n\\t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/pkg/election/lease.go:152](http://github.com/tikv/pd/pkg/utils/logutil.LogPanic//n//t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/pkg/utils/logutil/log.go:87//nruntime.gopanic//n//t/usr/local/go/src/runtime/panic.go:914//ntime.NewTicker//n//t/usr/local/go/src/time/tick.go:22//ngithub.com/tikv/pd/pkg/election.(*lease).keepAliveWorker.func1//n//t/home/jenkins/agent/workspace/build-common/go/src/github.com/pingcap/pd/pkg/election/lease.go:152)\"]"
pd-server -V
8196d84
The text was updated successfully, but these errors were encountered:
also see https://github.com/tikv/pd/actions/runs/7273239531/job/19816841865?pr=7597
Sorry, something went wrong.
member: return err when meet frequently campaign leader (#7566)
a8aaae9
close #7562 Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
HuSharp
Successfully merging a pull request may close this issue.
Bug Report
CampaignLeader maybe pass if the retry time has reached campaignLeaderFrequencyTimes, but the lease maybe not success ,so the lease time is zero .
pd/server/server.go
Lines 1645 to 1655 in cf718a7
What did you do?
What did you expect to see?
normal
What did you see instead?
What version of PD are you using (
pd-server -V
)?8196d84
The text was updated successfully, but these errors were encountered: