Commit 303fad9c authored by Aurel's avatar Aurel

when creating a new partition table, increase the partition table id so

that it does not remain as INVALID_PTID value. So partition table do
not get recreated after a primary master node change as if it were the
first time the cluster is run.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@233 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ad3e2e8a
......@@ -374,6 +374,7 @@ class Application(object):
if self.lptid == INVALID_PTID:
# This looks like the first time. So make a fresh table.
logging.debug('creating a new partition table')
self.getNextPartitionTableID()
self.pt.make(nm.getStorageNodeList())
else:
# Obtain a partition table. It is necessary to split this
......
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