Commit 7457be46 authored by Aurel's avatar Aurel

add HIDDEN STATE so that pt.log can work


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@553 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 578888e5
......@@ -19,7 +19,7 @@ import logging
from neo.protocol import UP_TO_DATE_STATE, OUT_OF_DATE_STATE, FEEDING_STATE, \
DISCARDED_STATE, RUNNING_STATE, TEMPORARILY_DOWN_STATE, DOWN_STATE, \
BROKEN_STATE, VALID_CELL_STATE_LIST
BROKEN_STATE, VALID_CELL_STATE_LIST, HIDDEN_STATE
from neo.util import dump
class Cell(object):
......@@ -187,7 +187,8 @@ class PartitionTable(object):
node_state_dict = { RUNNING_STATE: 'R',
TEMPORARILY_DOWN_STATE: 'T',
DOWN_STATE: 'D',
BROKEN_STATE: 'B' }
BROKEN_STATE: 'B',
HIDDEN_STATE: 'H'}
cell_state_dict = { UP_TO_DATE_STATE: 'U',
OUT_OF_DATE_STATE: 'O',
FEEDING_STATE: 'F' }
......
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