Closed quinton-hoole closed 5 years ago
In summary:
Rather than wait an arbitrary 5 seconds for ConsensusRSM leader to be elected, explicitly catch LeaderException, and retry until timeout, but only if AtLeastOnceRPC is not in the DM chain.
Addressed all review comments, confirmed that all tests and examples succeed:
$ ./gradlew check examples:run BUILD SUCCESSFUL in 7m 16s 99 actionable tasks: 99 executed
In summary:
Rather than wait an arbitrary 5 seconds for ConsensusRSM leader to be elected, explicitly catch LeaderException, and retry until timeout, but only if AtLeastOnceRPC is not in the DM chain.