Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
There is a race condition in agent which leads to incorrect process reporting in Duccmon. In this scenario the following happened:
- agent started JP
- JP reported Initializing state which agent then publishes to the OR
- JP reported Running state but immediately after died due to process error. The agent detected process termination (before publishing Running to OR) and changed state to failed with reason Unknown
The result is that the OR thinks that the JP died while Initializing since Running state was never published. There is a small window where the race can occur.