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

.

parent a1e54cf8
...@@ -40,13 +40,10 @@ def main(): ...@@ -40,13 +40,10 @@ def main():
defer(cluster.stop) defer(cluster.stop)
cluster.expectClusterRunning() cluster.expectClusterRunning()
zstor = cluster.getZODBStorage()
# dump information about ready cluster into readyfile # dump information about ready cluster into readyfile
with open("%s.tmp" % readyf, "w") as f: with open("%s.tmp" % readyf, "w") as f:
# XXX master addresses f.write(cluster.master_nodes) # XXX ' ' separated if multiple masters
# XXX + addresses of other nodes?
f.write("...")
os.rename("%s.tmp" % readyf, readyf) # atomic os.rename("%s.tmp" % readyf, readyf) # atomic
def _(): 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