I’ve been going through the TCPClient implementation and noticed that correlation ids for the operations are updated on each operation retry.
I was wandering if the following scenario is possible, or I’m overlooking something:
operation A1 (append to stream) sent to server
operation A1 retried as A2
response to A1 returns (success) and is discarded as the operation is no longer present
response to A2 returns (Wrong expected version) and is passed to the calling code