-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Closed
Copy link
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.sig/sql-infraSIG: SQL InfraSIG: SQL Infratype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.
Description
Enhancement
When autoid service leader panic, the follower need to wait the lease timeout to take over the leader's role.
The lease is 60s, which is a bit too long...
For DDL service, it's also 60s, and it's the default value https://pkg.go.dev/go.etcd.io/etcd/clientv3/concurrency#WithTTL
DDL is offline service, so 60s is tolerable.
But autoid allocating is online service, the custome may not expect it take so long to recover.
Metadata
Metadata
Assignees
Labels
affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.This bug affects the 7.1.x(LTS) versions.sig/sql-infraSIG: SQL InfraSIG: SQL Infratype/enhancementThe issue or PR belongs to an enhancement.The issue or PR belongs to an enhancement.