Cassandra Questions and Answers

22) Explain how Cassandra writes changed data into commitlog?

  • Cassandra concatenate changed data to commitlog
  • Commitlog acts as a crash recovery log for data
  • Until the changed data is concatenated to commitlog write operation will be never considered successful

Data will not be lost once commitlog is flushed out to file.