-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 4.2.0
-
Component/s: Reactive Streams
-
None
The sessions specification requires that an implicit session is available for re-use after the previous operation that is using it completes. Currently, we rely on the use of Mono:doOnTerminate to help provide that guarantee, as in current versions of Project Reactor there is a documented guarantee that the termination code will execute prior to Subscriber notification.
But that guarantee is not included, and is violated, in the current minimum release of Project Reactor that we support (Californium). Therefore, until we update our minimum supported Project Reactor release, we should ensure that the driver behaves consistently and as expected when using that release. This is easy to do: instead of releasing the binding via Mono#doOnTerminate, wrap the sinkToCallback in another callback that releases the binding before notifying the Sink of completion.
- related to
-
JAVA-3969 Investigate implicit session test failure
- Closed