If two _check_output_exchange_sync are called consecutively, one after the other, maybe due to _execute_next_action method, the following error happens:
Both _check_output_exchange_sync calls detect the same exchange records, and both create same jobs. The first batch of jobs will be processed but the second ones will fail due to check of state = "new".
If two
Both
_check_output_exchange_sync
are called consecutively, one after the other, maybe due to_execute_next_action
method, the following error happens:_check_output_exchange_sync
calls detect the same exchange records, and both create same jobs. The first batch of jobs will be processed but the second ones will fail due to check of state = "new".