From b7bedf6b06ce275b886b141c2275a1d8b6dc213a Mon Sep 17 00:00:00 2001 From: Feike Steenbergen Date: Tue, 11 Aug 2015 11:16:52 +0200 Subject: [PATCH] Update dcs.py --- helpers/dcs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers/dcs.py b/helpers/dcs.py index d29dbe33..04b3bb93 100644 --- a/helpers/dcs.py +++ b/helpers/dcs.py @@ -132,7 +132,8 @@ class AbstractDCS: @abc.abstractmethod def take_leader(self): """This method should create leader key with value = `~self._name` and ttl=`~self.ttl` - Since it could be called only on initial cluster bootstrap it could create this key not atomically.""" + Since it could be called only on initial cluster bootstrap it could create this key regardless, + overwriting the key if necessary.""" @abc.abstractmethod def race(self, path):