Commit 1d4dd4ef authored by Robert Ricci's avatar Robert Ricci

Added two tables.

state_timeouts is for recording the maximum amount of time (in
seconds) that a node should be in a given state. (0 means no timeout)
The contents of the action column are not yet well-defined - in the
future, it may contain commands for dealing with stuck nodes, or
perhaps a keyword to indicate to the watchdog daemon what action
should be taken.

state_transitions contains a list of valid state transitions.
parent d02376db
......@@ -620,6 +620,25 @@ CREATE TABLE scheduled_reloads (
PRIMARY KEY (node_id)
) TYPE=MyISAM;
#
# Table structure for table 'state_timeouts'
#
CREATE TABLE state_timeouts (
state varchar(20) default NULL,
timeout int(11) default NULL,
action mediumtext
) TYPE=MyISAM;
#
# Table structure for table 'state_transitions'
#
CREATE TABLE state_transitions (
state1 varchar(20) default NULL,
state2 varchar(20) default NULL
) TYPE=MyISAM;
#
# Table structure for table 'switch_stack_types'
#
......
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