Skip to content
New issue

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

Leader Lease expired time is later than log time #7700

Open
CabinfeverB opened this issue Jan 11, 2024 · 0 comments
Open

Leader Lease expired time is later than log time #7700

CabinfeverB opened this issue Jan 11, 2024 · 0 comments
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@CabinfeverB
Copy link
Member

CabinfeverB commented Jan 11, 2024

Bug

Sometimes we can see

[2024/01/03 10:36:23.277 +08:00] [INFO] [lease.go:138] ["lease timeout"] [expire=2024/01/03 10:36:25.258 +08:00] [purpose="leader election"]

expire time is later than log time.

ref issue #7405, This can confuse users.

At the same time, this will lead to a problem: the lease has not expired, but the pd leader will not try to keep alive it, which will inevitably lead to a leader vacuum period, which will affect the service SLA

@CabinfeverB CabinfeverB added type/enhancement The issue or PR belongs to an enhancement. type/bug The issue is confirmed as a bug. and removed type/enhancement The issue or PR belongs to an enhancement. labels Jan 11, 2024
@CabinfeverB CabinfeverB added severity/moderate affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. and removed affects-6.1 This bug affects the 6.1.x(LTS) versions. affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.5 This bug affects the 7.5.x(LTS) versions. labels Jan 11, 2024
ti-chi-bot bot added a commit that referenced this issue Jan 24, 2024
ref #7700

Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
Status: Need Triage
Development

No branches or pull requests

1 participant