Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9032787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:04:00+00:00 2026-06-16T08:04:00+00:00

My cassandra database has just lost most of it’s data. It was only test

  • 0

My cassandra database has just lost most of it’s data. It was only test data, but I still need to understand what is going on and make sure it does not happen with real data.

I’m running cassandra 1.1 as a service on a Windows Server. The db is fed with data from a c# application. A script terminated and restarted the cassandra service. After that, all data from the last 20 hours or so was gone. Older data was still there.

It is possible that the data in question was never written to disc at all. However, the db answered queries correctly during the 20h in question, so the data must have been in memory at least.

The config is identical to the default config except for storage location etc. Flushing strategy is

commitlog_sync: periodic 
commitlog_sync_period_in_ms: 10000

Any hint is appreciated, including what to try and what to look for in the log files or in the config.

Edit: After experimenting a little more I can now reproduce the following:

  • insert new data – ok
  • query the new data – ok
  • stop and restart db – all new data is now gone 🙁 (old data is still there)
  • nothing in the log file, just “Log replay complete, 0 replayed mutations”

Edit2: Starting with a fresh, empty db and everything works fine now (same config of course). Using the backup of my broken db and I can reproduce the problem above again. Have I discovered a bug in cassandra? Apparently my db is in a state where the commit logs are either not written or not replayed correctly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T08:04:01+00:00Added an answer on June 16, 2026 at 8:04 am

    “New mutations aren’t replayed, but old ones are still there” sounds like https://issues.apache.org/jira/browse/CASSANDRA-4782, which was fixed in 1.1.6. The most recent 1.1 release is 1.1.8; you should upgrade to that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm testing the connection to Cassandra Database over Hector. But when I run the
I need to check if certain keyspace exists in Cassandra database. I need to
I need to get a maximal key of a column family an cassandra database
I need to migrate Oracle database with Cassandra. All Oracle tables have primary keys
Suppose that one has set up a cassandra cluster. You've got a 10[TB] database
I have the following Python code which takes data from cassandra database. What i
I'm attempting to create a Cassandra schema for stock price data. Each records has
I am building an application in Java. My database ( Cassandra ) understands only
I've followed numerous examples on inserting data into a Cassandra database and every time
I have been trying to retrieve data from Cassandra database using this command: select

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.