Commit 4244140f authored by Grégory Wisniewski's avatar Grégory Wisniewski

Unknown storage nodes have to be in temporarily down state.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1066 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 16e0aefd
...@@ -173,6 +173,7 @@ class PartitionTable(object): ...@@ -173,6 +173,7 @@ class PartitionTable(object):
dump(uuid)) dump(uuid))
from neo.node import StorageNode from neo.node import StorageNode
node = StorageNode(uuid=uuid) node = StorageNode(uuid=uuid)
node.setState(protocol.TEMPORARILY_DOWN_STATE)
nm.add(node) nm.add(node)
self.setCell(offset, node, state) self.setCell(offset, node, state)
logging.debug('partition table updated') logging.debug('partition table updated')
......
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