Comments (3)
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.
I've implemented a work-around for the Liquibase bug.
from frost-server.
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
from frost-server.
Related Issues (20)
- Change Datastream/observationType to enum and check its values
- FROST Server very slow on large requests HOT 5
- Database is not using PhenomenonTime-Index HOT 5
- Issue With Authentication with FROST Server HOT 1
- Inconsistency in current Location of a Thing when Historical Locations are deleted or updated HOT 1
- Issue querying FROST-Server with umlauts in name HOT 5
- Query performance issues on Observations with plugins_coreModel_idType LONG HOT 3
- Using batch createObservations failed HOT 9
- Inconsistency in CSV Result Documentation HOT 1
- filtering with any problem HOT 2
- Using Frost-Server without Semantic Sensor Network Ontology HOT 3
- Deployment of FROST-Server.MQTTP-x.y.z.war not working HOT 3
- Mixed content error HOT 5
- USERS and USER_ROLES tables are not created with BasicAuthProvider authentication turned on HOT 3
- problem with location encoding HOT 3
- Best Practices for Formatting Arbitrarily Complicated POLYGON in Geometry Intersection HOT 1
- access contol to the OGC schema? HOT 3
- Facing CORS Issue HOT 1
- Updating the Configuration of Running Frost Instance HOT 1
- concatenate observations from multiple datastreams in one query
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 frost-server.