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
When using RunJobAndPollAsync with multiple batches in one call, I've an occasional issue caused by (apparently) non-deterministic order of the results (order of batches).
I'm sending a list of two batches, 20 and 5 items respectively.
Sometimes what I receive is two lists of results, 5 and 20 items, respectively.
(Please see the debugger screenshot below)
This makes it impossible to determine which result item corresponds to which batch item. Am I missing a better way to match results to input items?
The text was updated successfully, but these errors were encountered:
@michal-gajek-lingaro I encountered same problem. Based on issue activity I can assume that it will not be fixed.
I assume you found solution but it may be helpful for someone else. As a workaround you can write custom Run and Poll logic with help of RunJobAsync, PollBatchAsync and GetBatchResultAsync methods (here is link to core implementation -
When using RunJobAndPollAsync with multiple batches in one call, I've an occasional issue caused by (apparently) non-deterministic order of the results (order of batches).
I'm sending a list of two batches, 20 and 5 items respectively.
Sometimes what I receive is two lists of results, 5 and 20 items, respectively.
(Please see the debugger screenshot below)
This makes it impossible to determine which result item corresponds to which batch item. Am I missing a better way to match results to input items?
The text was updated successfully, but these errors were encountered: