You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the code line highlighted above could lead to some of the tasks put in progress without being polled by the worker.
My Use case:
I have parallel tasks which are being created dynamically in FORK_JOIN_DYNAMIC, here my worker is not a batch processor, it just polls only a single task and marks it as IN PROGRESS, due the above logic, my worker is able to poll one task and other task are NOT being polled as the above line marks all the task as ackTaskRecieved, which I believe is not correct.
we should have some flag kind of thing, based on that acking all the tasks make sense, instead of acking all the tasks from the queue blindly.
conductor/core/src/main/java/com/netflix/conductor/service/ExecutionService.java
Line 206 in b4da79c
As the code line highlighted above could lead to some of the tasks put in progress without being polled by the worker.
My Use case:
I have parallel tasks which are being created dynamically in FORK_JOIN_DYNAMIC, here my worker is not a batch processor, it just polls only a single task and marks it as IN PROGRESS, due the above logic, my worker is able to poll one task and other task are NOT being polled as the above line marks all the task as ackTaskRecieved, which I believe is not correct.
we should have some flag kind of thing, based on that acking all the tasks make sense, instead of acking all the tasks from the queue blindly.
Open for suggestions ?
@gustavo.gardusi@gmail.com
The text was updated successfully, but these errors were encountered: