Comments (3)
I see etcd Election use session timeout https://github.com/coreos/etcd/blob/master/clientv3/concurrency/election.go#L53, so it will wait at lease 60s to re-elect again if current leader was down, this is too long for us.
Maybe we should think another way to speed up it, and the client must handle this scenario carefully too.
from pd.
We use watch for leader failover on etcd, it costs about five seconds to handle it, so i think it is OK now.
@siddontang What is your opinion? Can this issue be closed?
from pd.
@xiang90 told me before that he would try to speed up in test, does it support now? If not, we can close it.
from pd.
Related Issues (20)
- rule: cannot load with large txn
- TestSchedulerDiagnostic is unstable HOT 1
- Modify update tidb-dashboard strategy
- lightning or add index failed with '503 Service Unavailable' when inject some pd fault due to PD HTTP client be introduced HOT 2
- The PD API returned the wrong message HOT 3
- Support persisting ru consumption statistics data and return ru statistics in get response
- (security) v6.5.6 config encryption at rest for pd with aws kms key failed HOT 2
- pd cannot read resource limitation from cgroup with the systemd
- Panic when querying the region by ID if the region doesn't have a leader
- TestConfigTTL is unstable HOT 1
- [bug] Fix scripts/update-dashboard scripts to support dashboard semver style version
- TestRedirectWithMetrics date race
- [bug] tidb-dashboard instance profiling page show white screen
- Too much logs when forwarding heartbeat if there are some network problems
- There will be lots of balance leader operators after enabling scheduling service HOT 1
- The output is null when adding evict-leader-scheduler for second store
- add index failed with error '503 Service Unavailable' when kill pdleader HOT 2
- import into failed and tidb panic when inject pd leader network partition HOT 1
- PD continues sending merge operator to TiKV and then time out HOT 1
- Support using an option to decide if the request should be redirected to scheduling service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pd.