Commit 18c11a69 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a1e54cf8
......@@ -40,13 +40,10 @@ def main():
defer(cluster.stop)
cluster.expectClusterRunning()
zstor = cluster.getZODBStorage()
# dump information about ready cluster into readyfile
with open("%s.tmp" % readyf, "w") as f:
# XXX master addresses
# XXX + addresses of other nodes?
f.write("...")
f.write(cluster.master_nodes) # XXX ' ' separated if multiple masters
os.rename("%s.tmp" % readyf, readyf) # atomic
def _():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment