[JAVA-5284] Backport BatchCursorFlux default onErrorDropped hook warning fix Created: 04/Jan/24  Updated: 09/Jan/24  Resolved: 09/Jan/24

Status: Closed
Project: Java Driver
Component/s: Async, Reactive Streams
Affects Version/s: None
Fix Version/s: 5.0.0

Type: Improvement Priority: Unknown
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-5266 Investigate async default onErrorDrop... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Backport the fix from JAVA-5266 discovered in CSOT



 Comments   
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross@mongodb.com', 'username': 'rozza'}

Message: Fix possible `onErrorDropped` logged message

Caused by using `doOnError` rather than using `subscribe` and
passing the handler in there.

JAVA-5284 JAVA-5266
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/b3b6ea7ece0bf7efab9b166e3ad0a1fbc3fc6e73

Generated at Thu Feb 08 09:04:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.