-
Notifications
You must be signed in to change notification settings - Fork 80
CORTX-29871: process state machine update multiple times #2145
Conversation
|
retest this please |
1 similar comment
|
retest this please |
|
@mssawant what is the JIRA Id to link with this PR? |
e02f191 to
ec89fb6
Compare
|
retest this please |
|
This issue/pull request has been marked as |
|
With Mandar's branch, tried to do bootstrap in LR env, But it was failing to start ioservices. |
|
Created a custom build [ https://eos-jenkins.colo.seagate.com/job/GitHub-custom-ci-builds/job/generic/job/custom-ci/7556/ ] with this PR and motr PR Seagate/cortx-motr#2078 Tested this build on my 9 node cluster. After cluster shutdown and restart, I see all device's state to be online immediately. Didn't see the issue of device state fluctuation. |
Process events are a broadcast to all the nodes in the cluster. Not all the nodes are required to update the entire process configuration tree in KV. Only the process's local hax or RC must do that. Solution: - Avoid updating process configuration tree in KV, but notify local motr processes about any remote process state updates. - Set HA and Confd process states to M0_CONF_HA_PROCESS_RECOVERED on receiving M0_CONF_HA_PROCESS_STARTED. Signed-off-by: Mandar Sawant <[email protected]>
ec89fb6 to
a18ff59
Compare
Process events are a broadcast to all the nodes in the cluster.
Not all the nodes are required to update the entire process configuration
tree in KV. Only the process's local hax or RC must do that.
Solution:
processes about any remote process state updates.
on receiving M0_CONF_HA_PROCESS_STARTED.
Signed-off-by: Mandar Sawant [email protected]