Cassandra server data is not deleted on start as default when running in dev mode
See original GitHub issueExpected Behavior
According to the documentation specified at: https://www.lagomframework.com/documentation/1.4.x/scala/CassandraServer.html when running in dev mode and starting the embedded Cassandra server it should delete older data by default
Actual Behavior
Older data is not deleted.
According to the code in build-cassandra-opts.sbt the default is false:
lagomCassandraCleanOnStart in ThisBuild := false
Two possible fixes: Fix the default value or fix the documentation
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Cassandra: Delete Works on Local But Not On Deployed
Our service is able to run SELECT and INSERT queries without any issues on our local and deployed Cassandra instances.
Read more >cassandra.yaml configuration file | DSE 6.8 Dev guide
The database distributes data evenly across the location, ... Note: If not set, the default directory is $CASSANDRA_HOME /data/metadata.
Read more >cassandra.yaml file configuration
If not set, the default directory is $CASSANDRA_HOME/data/hints. ... For a long-running cache using roles_cache_active_update, consider setting to something ...
Read more >Apache Cassandra best practices - Axway Documentation Portal
WARN Cassandra server running in degraded mode. Is swap disabled? ... By default Apache Cassandra 3.11.x does not clean nodetool repair trace history....
Read more >Using the Cassandra Client - Quarkus
Entity classes are normally required to have a default no-arg constructor, ... If you want to use Docker to run a Cassandra database,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I will update the documentation and fix the maven plugin
created pull request but review is needed: https://github.com/lagom/lagom/pull/1625