Patroni Etcd read_timeout
See original GitHub issuePatroni version: 1.6.5 PostgreSQL version: 11.8 Etcd version: 3.4
Configuration:
ttl: 30
loop_wait: 10
retry_timeout: 10
Exception encountered
ERROR: Request to server http://10.1.1.0:2379 failed: MaxRetryError('HTTPConnectionPool(host=\'10.1.1.0\', port=2379): Max retries exceeded with url: /v2/keys/db/pg-ha/leader (Ca
used by ReadTimeoutError("HTTPConnectionPool(host=\'10.1.1.0\', port=2379): Read timed out. (read timeout=1.999905027449131)",))',)
2020-09-02 10:59:43,659 INFO: Reconnection allowed, looking for another server.
2020-09-02 10:59:43,659 INFO: Retrying on http://10.1.1.1:2379
2020-09-02 10:59:44,661 ERROR: Request to server http://10.1.1.1:2379 failed: MaxRetryError("HTTPConnectionPool(host='10.1.1.1', port=2379): Max retries exceeded with url: /v2/keys/db/pg-ha/leader (Ca
used by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f63fc80a400>, 'Connection to 10.1.1.1 timed out. (connect timeout=1)'))",)
I’m wondering about the value of read timeout, I can see from the logs that the read timeout = 1.999905027449131, It is my understanding that this timeout is set to 10second at retry_timeout parameter.
Can someone help me understand this value, please ? 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Patroni not trying to reconnect to other etcd members #628
It simply keeps retrying to connect to etcdX. That's very strange. Up on start Patroni discovers topology of etcd cluster by performing request ......
Read more >Release notes — Patroni 2.1.5 documentation
When starting up Patroni checks the healthiness of Etcd cluster by querying the ... Adjust the read timeout for the leader watch blocking...
Read more >Patroni Documentation - Read the Docs
Patroni is a template for you to create your own customized, high-availability solution using Python and - for maximum.
Read more >Release notes - Patroni - Crunchy Data
Patroni is communicating with Consul, Etcd, and Kubernetes API via the http ... Adjust the read timeout for the leader watch blocking query...
Read more >Tuning - etcd
The second parameter is the Election Timeout. This timeout is how long a follower node will go without hearing a heartbeat before attempting...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There is the formula:
Yes. In case if one node fails we still have time to retry on other nodes.