eosnetworkfoundation / chicken-dance

Chicken Dance distributed replay of transactions
MIT License
0 stars 0 forks source link

Background job may set `ERROR` #71

Open ericpassmore opened 10 months ago

ericpassmore commented 10 months ago

The background job should check for a running nodoes. If there is no running nodoes it should set job to ERROR status. This is to prevent an instance from hanging if nodoes fails to start for some reason.

Background job should SIGHUP parent process, to clear host to process new jobs.

There may be a gap between the start of the background job and running of nodoes. Recommend first fail to create a file marking the failure, then susequent failures would check for the file and post ERROR state.

ericpassmore commented 8 months ago

This is the background job. https://github.com/eosnetworkfoundation/replay-test/blob/main/replay-client/background_status_update.sh