Start readonly when holding the leader lock

This commit is contained in:
Alexander Kukushkin
2016-07-04 11:08:24 +02:00
parent b84e22c4ea
commit 2944a4bcbd
+1
View File
@@ -732,6 +732,7 @@ class Postgresql(object):
if leader and leader.name == self.name:
self._need_rewind = False
member = None
if self.is_running():
return
else: