Add information which node locked a given failsafe_task
Closed this issue · 0 comments
cinemast commented
During startup of the FailsafeExecutor it should be possible to provide some sort of node-id
that is inserted into the failsafe_task table along with the lock time so that it is traceable which node locked a given task.
When an executor is grabbing a failsafe_task and locking it, it should persist the node-id
into the row along with the lock time-stamp.
Make sure to update all relevant SQL Files.
The original start()
method should be kept for compatibility reasons. Providing a node-id
should be optional.