-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that AsyncReadWriteBinding is released prior to subscriber not…
…ification (#676) Previously the driver assumed that Mono#doOnTerminate is executed prior to the subscriber being notified of completion. But it turns out that behavior is not guaranteed in the Californium release of Project Reactor (though it is in later releases). So instead, now the SingleResultCallback that is used to notify the Mongo of completion is wrapped by one that first releases the binding, and Mono#doOnTerminate is no longer used. JAVA-4027
- Loading branch information
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters