Skip to content

Adapt to Mongo driver ClientSession exception in MongoExceptionTranslator [DATAMONGO-1905] #2806

Open
@spring-projects-issues

Description

@spring-projects-issues

Mark Paluch opened DATAMONGO-1905 and commented

MongoExceptionTranslator currently inspects the stack trace to determine whether to throw a ClientSessionException. Stack traces may get omitted (OmitStackTraceInFastThrow is enabled by default) so we can't reliably inspect the stack.

We should move to a more reliable discovery once MongoDB driver provides one


No further details from DATAMONGO-1905

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions