Commit 6781b089 authored by Aurel's avatar Aurel

set num partition into database once we get it from PMN


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@455 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 27ceb80f
...@@ -179,6 +179,7 @@ class BootstrapEventHandler(StorageEventHandler): ...@@ -179,6 +179,7 @@ class BootstrapEventHandler(StorageEventHandler):
if app.num_partitions is None: if app.num_partitions is None:
app.num_partitions = num_partitions app.num_partitions = num_partitions
app.dm.setNumPartitions(app.num_partitions)
app.num_replicas = num_replicas app.num_replicas = num_replicas
app.pt = PartitionTable(num_partitions, num_replicas) app.pt = PartitionTable(num_partitions, num_replicas)
app.loadPartitionTable() app.loadPartitionTable()
......
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