-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
Java Drivers
-
None
-
None
-
None
-
None
-
None
-
None
In InternalStreamConnection, the one-way command path (responseExpected=false) dispatches commandSucceeded before closing the tracing scope and ending the span.
If a CommandListener throws an Error, tracing cleanup is skipped, leaving the scope active and the span unended and unexported.
The same issue behaviour in the asynchronous path.
Acceptance Criteria
- Ensure tracing cleanup executes via try/finally for both sync and async one-way commands.