Ema has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/364971 )
Change subject: Reset waitIndex when connection is lost in a unclean way ...................................................................... Reset waitIndex when connection is lost in a unclean way To avoid endless loops trying to connect to etcd, only reset waitIndex if the etcd connection is lost in a unclean way (reason != ConnectionDone). Bug: T169893 Change-Id: Icd8999bd326b64136589cb69b2c32972afc6e4ef --- M pybal/etcd.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/pybal refs/changes/71/364971/1 diff --git a/pybal/etcd.py b/pybal/etcd.py index d452733..31531de 100644 --- a/pybal/etcd.py +++ b/pybal/etcd.py @@ -145,7 +145,7 @@ log.info("client connection closed cleanly", system="config-etcd") else: log.error("client connection lost: reason=%s" % reason, system="config-etcd") - self.waitIndex = None + self.waitIndex = None connector.connect() def getMaxModifiedIndex(self, root): -- To view, visit https://gerrit.wikimedia.org/r/364971 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icd8999bd326b64136589cb69b2c32972afc6e4ef Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/pybal Gerrit-Branch: master Gerrit-Owner: Ema <e...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits