Skip to content

Check MongoException error labels for recoverable transaction errors [DATAMONGO-2073] #2939

Closed
@spring-projects-issues

Description

@spring-projects-issues

Christoph Strobl opened DATAMONGO-2073 and commented

Check MongoException for lables TransientTransactionError, UnknownTransactionCommitResult indicating potentially recoverable transaction commit errors and translate them to TransientDataAccessException.

See MongoException#hasErrorLabel(String).


Issue Links:

  • DATAMONGO-2075 Open up MongoTransaction manager to allow transaction commit retry.

  • DATAMONGO-2291 MongoExceptionTranslator hides WriteConflicts

Referenced from: pull request #605

1 votes, 2 watchers

Metadata

Metadata

Labels

in: coreIssues in core supporttype: taskA general task

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions