Oneiroi / clustercheck

Updated clustercheck, intended to be standalone service for the reporting of Percona XtraDB cluster nodes
GNU Affero General Public License v3.0
13 stars 15 forks source link

Add read timeout to prevent connection hanging forever #26

Closed toabctl closed 5 years ago

toabctl commented 5 years ago

Sometimes the DB accepts a connection but hangs thereafter which leaves being_updated stuck at True forever. Then all new requests are taken from the cache which never gets refreshed and can return the wrong result which can lead to serious DB problems.

toabctl commented 5 years ago

@Oneiroi friendly ping for a review (not sure if you get mails for new PRs so I add a comment mentioning you. please tell me if that is unneeded).

Oneiroi commented 5 years ago

LGTM, merged.