Code Monkey home page Code Monkey logo

Comments (3)

hylkevds avatar hylkevds commented on September 28, 2024 1

I've also noticed this, very irregularly, and hard to reproduce reliable. It's very bizarre.

Liquibase claims it updated the database successfully, and when you call the DatabaseUpdate script, it says there's nothing left to do. But when you access the database the tables are not there, and also the entries in the DatabaseChangeLog are not there.
Restarting the server causes Liquibase to re-run the updates, since obviously they did not happen.

It's like the updates happen in a transaction that only Liquibase can see that is never committed...

For now I did notice a workaround. If you disable persistence_autoUpdateDatabase but keep auth_autoUpdateDatabase enabled it works. The auth tables are initialised when they are needed the first time (and not on the start of FROST) and running Liquibase form the Database Update script works correctly. This also leads me to suspect the issue is in how Liquibase accesses the connection when it is triggered during service start...

By the way, it's quite brave of you to already experiment with the Fine Grained security implementation :) Would you mind telling some more about your use cases? If you can't post that here, feel free to drop me an email...

from frost-server.

hylkevds avatar hylkevds commented on September 28, 2024 1

I've implemented a work-around for the Liquibase bug.

from frost-server.

hylkevds avatar hylkevds commented on September 28, 2024

It's a bug in Liquibase:
https://forum.liquibase.org/t/bug-in-v4-21-changesets-are-not-run-because-abstractupdatecommandstep-isuptodatefastcheck-incorrectly-caches-value-across-schemas/8286

liquibase/liquibase#4304

from frost-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.