Sometimes, when ExecuteBatchRetry is called, orig is not present in either commands or cmds. We had two options:
Check to see if either array contains the object and then create the array with the correct size (expensive)
Use a list, and then convert it to an array when finished (less expensive).,
This prevents an IndexOutOfRangeException Seen in issue #50 .
This has been tested locally in my application, with forced timeouts by using clumsy 0.2 for Windows. With these changes, we're able to achieve all iterations in our async batch read.
Sometimes, when
ExecuteBatchRetry
is called,orig
is not present in eithercommands
orcmds
. We had two options:This prevents an IndexOutOfRangeException Seen in issue #50 .
This has been tested locally in my application, with forced timeouts by using clumsy 0.2 for Windows. With these changes, we're able to achieve all iterations in our async batch read.