Comments (2)
Hello @hans009 , thanks for raising the issue and for your workaround. We'll take it into account to update Mongock's documentation.
from mongock.
Hello again, I found out that it's related to MongoDB on CosmosDB (non-vCore) inability to span transactions accross multiple collections.
The issue is that after executing a change unit (e.g. adding something to collection_one) the mongockChangeLog collection should get updated within the same transaction and thus fails due to that limitation.
So maybe you can add to your CosmosDB documentation that in the non-vCore mode you cannot use native transactions in that scenario but instead have to implement the rollback logic in @RollbackExecution method yourself
from mongock.
Related Issues (20)
- Releases at Github HOT 1
- Spring Boot 3 Support for mongodb-reactive-driver HOT 4
- Migrations are not applied to DB. Also there is no logs related to mongock while running application HOT 1
- retryable writes error for mongock-examples/mongodb/standalone-reactive/ example HOT 1
- ClassCastException after upgrading from Mongock 4.1.14 to 5.2.4 HOT 6
- Clarify ordering mechanism in docs HOT 5
- upgrade guava to 32.0.0-jre to fix CVE-2020-8908 and CVE-2023-2976 HOT 2
- Support for Elasticsearch with an Elasticsearch driver HOT 1
- Change Unit is not working with spring boots's annotation @CompoundIndex on entity class HOT 5
- default-migration-author not applied in spring context HOT 2
- business related questions HOT 6
- Injecting beans by name HOT 4
- Unable to specify/override ReadConcern for transactional ChangeUnits HOT 1
- @ChangeSet executed before @ChangeUnit, ignoring order HOT 3
- MongoCK ChangeUnit doesn't auto wire other spring beans as dependency HOT 3
- Not supporting @ConditionalOnExpression or @ConditionalOnProperty HOT 2
- ChangeUnits containing Unnamed Variables (JEP443) are not found by Mongock. HOT 7
- Configuration error when using multiple transaction managers HOT 1
- BOM not published for version 5.3.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongock.