Commit c6965448 authored by Łukasz Nowak's avatar Łukasz Nowak

Bugfix: As one partition has more then one zeo, separate their ZODB's by server number.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45779 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 97546fc1
......@@ -520,7 +520,8 @@ class Recipe(BaseSlapRecipe):
storage_definition_list = []
for storage_name in sorted(self._zeo_storage_dict[zeo_server]):
storage_number += 1
path = os.path.join(zodb_dir, 'zodb_%s.fs' % storage_number)
path = os.path.join(zodb_dir, 'zodb_%s_%s.fs' % (zeo_number,
storage_number))
storage_definition_list.append("""<filestorage %(storage_name)s>
path %(path)s
</filestorage>"""% dict(storage_name=storage_name, path=path))
......
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