question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cassandra server data is not deleted on start as default when running in dev mode

See original GitHub issue

Expected 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
danielklein45commented, Oct 16, 2018

Ok, I will update the documentation and fix the maven plugin

0reactions
danielklein45commented, Oct 16, 2018

created pull request but review is needed: https://github.com/lagom/lagom/pull/1625

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found