Commit 6ff21382 authored by Adam Wujek's avatar Adam Wujek 💬

[BUG: 1551] proto-ext-whiterabbit: add a pre-master state to wr fsm table

When two masters are connected to the same link one of them tries to enter
a state pre-master. However, this state is not compiled in the ppsi, so one
node stuck there forever. It is necessary to restart a node or re-establish
a link.

BUG introduced by a PPSI's commit:
2996dd7b compliance, 9.2.6.10: properly switch to MASTER or PRE_MASTER
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 6bcd067f
...@@ -17,7 +17,7 @@ struct pp_state_table_item pp_state_table[] = { ...@@ -17,7 +17,7 @@ struct pp_state_table_item pp_state_table[] = {
{ PPS_FAULTY, "faulty", pp_faulty,}, { PPS_FAULTY, "faulty", pp_faulty,},
{ PPS_DISABLED, "disabled", pp_disabled,}, { PPS_DISABLED, "disabled", pp_disabled,},
{ PPS_LISTENING, "listening", pp_listening,}, { PPS_LISTENING, "listening", pp_listening,},
/*{ PPS_PRE_MASTER, "pre-master", pp_pre_master,},*/ { PPS_PRE_MASTER, "pre-master", pp_master,},
{ PPS_MASTER, "master", pp_master,}, { PPS_MASTER, "master", pp_master,},
{ PPS_PASSIVE, "passive", pp_passive,}, { PPS_PASSIVE, "passive", pp_passive,},
{ PPS_UNCALIBRATED, "uncalibrated", pp_uncalibrated,}, { PPS_UNCALIBRATED, "uncalibrated", pp_uncalibrated,},
......
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