java-driver icon indicating copy to clipboard operation
java-driver copied to clipboard

Prevent reusing cached cancelled requests

Open lucboutier opened this issue 2 years ago • 0 comments

There was a critical issue in the driver that may occur when the external code cancels a request, indeed the CompletableFuture will then always throw a CancellationException.

This could occur for example when used in a reactive context with a Mono.zip failed.

lucboutier avatar Nov 03 '23 09:11 lucboutier