Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In order to restart the indy_node_control tool when running under sup…
…ervisord, we must kill the process. Restarting indy_node_control from a script started by indy_node_control itself causes a hang. Signed-off-by: Keith Smith <bksmith@us.ibm.com>
- Loading branch information
b23d1ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Killing the process could result in data corruption in Indy Node that could prevent that node from rejoining consensus, because the audit ledger write is not consistent with the other ledgers. Additional data recovery handling would need to be added to Indy Node for this to be safe: any writes to other ledgers ahead of the latest write to the audit ledger should be discarded.
b23d1ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Richard, this is killing indy-node-control, not the indy-node process. So this should not affect consensus.