Skip to content
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

Error on startup in cosmos DB with mongo 4.2 API #253

Open
millymanca opened this issue Apr 13, 2022 · 0 comments
Open

Error on startup in cosmos DB with mongo 4.2 API #253

millymanca opened this issue Apr 13, 2022 · 0 comments

Comments

@millymanca
Copy link

millymanca commented Apr 13, 2022

Here my configs:
Cosmos DB on Azure with mongo 4.2 driver
Quarkus Java 11
Dependencies:

<dependency>
        <groupId>org.liquibase</groupId>
        <artifactId>liquibase-core</artifactId>
        <version>4.9.0</version>
     </dependency>

     <dependency>
        <groupId>org.liquibase.ext</groupId>
        <artifactId>liquibase-mongodb</artifactId>
        <version>4.9.0</version>
     </dependency>

2022-04-13 16:38:43,777 INFO [liq.ext] (Quarkus Main Thread) Successfully Acquired Change Log Lock
2022-04-13 16:38:44,204 INFO [liq.ext] (Quarkus Main Thread) Create Database Change Log Collection
2022-04-13 16:38:44,205 INFO [liq.ext] (Quarkus Main Thread) Creating database history collection with name: profiler.DATABASECHANGELOG
2022-04-13 16:38:46,435 INFO [liq.ext] (Quarkus Main Thread) Created database history collection : profiler.DATABASECHANGELOG
2022-04-13 16:38:46,435 INFO [liq.ext] (Quarkus Main Thread) Adjusting database history Collection with name: profiler.DATABASECHANGELOG
2022-04-13 16:38:46,436 INFO [liq.ext] (Quarkus Main Thread) Adjusted database history Collection with name: profiler.DATABASECHANGELOG
2022-04-13 16:38:46,772 INFO [liq.ext] (Quarkus Main Thread) Release Database Lock
2022-04-13 16:38:46,819 INFO [liq.ext] (Quarkus Main Thread) Successfully released change log lock
2022-04-13 16:38:46,819 SEVERE [liquibase] (Quarkus Main Thread) Could not release lock: liquibase.exception.LockException: liquibase.exception.LockException: Did not update change log lock correctly.

0 rows were updated instead of the expected 1 row there are more than one rows in the table
at liquibase.nosql.lockservice.AbstractNoSqlLockService.releaseLock(AbstractNoSqlLockService.java:215)

Anyone has this problem?

@millymanca millymanca changed the title Error on startup in cosmos DB wiht mongo 4.2 API Error on startup in cosmos DB with mongo 4.2 API Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant