-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB observability not work after enable Transaction #4487
Comments
At a quick glance it looks like the @EnableTransactionManagement
@Configuration
public class MongoTransactionConfiguration {
@Bean
MongoTransactionManager transactionManager(MongoDatabaseFactory dbFactory) {
return new MongoTransactionManager(dbFactory);
}
} |
Yes, the solution works in a single MongoDB.
it will throw class cast exception like this:
|
The error above looks like the the one in #4481 which was fixed in |
still the same exception even after apply the version spring-data-mongodb-4.1.3 |
Hey @desertTown , I've tried to replicate this locally and I can't do it. Can you provide a sample that replicates this problem? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Hi All,
I had previously used certain settings for MongoDB of observability, and those configurations were effective.
However, after adding the provided snippet to enable database rollback in transactions, I am encountering an issue where there is no longer any database observability.
SpringBoot 3.0.9
Could you please assist in troubleshooting this issue? how should I make MongoDB observability work after enable Transaction
The text was updated successfully, but these errors were encountered: