cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Spriegel (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3710) Add a configuration option to disable snapshots
Date Sun, 05 Feb 2012 01:54:53 GMT


Christian Spriegel commented on CASSANDRA-3710:

Hi Peter,
it is good to know that we are not the only ones having this problem.

The approaches you described are not really suitable for our application. Empty or old rows
would distract the application. Thats why I created a pretty radical patch for cassandra:

It adds a new config setting called 'test_mode_enabled'. If set to true, it will disable the
commitlog, disable snapshots and disables memtable flushes for truncates.

I uploaded it, maybe this is useful for your tests too.

> Add a configuration option to disable snapshots
> -----------------------------------------------
>                 Key: CASSANDRA-3710
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Brandon Williams
>             Fix For: 1.0.8
>         Attachments: Cassandra107Patch_TestModeV1.txt
> Let me first say, I hate this idea.  It gives cassandra the ability to permanently delete
data at a large scale without any means of recovery.  However, I've seen this requested multiple
times, and it is in fact useful in some scenarios, such as when your application is using
an embedded cassandra instance for testing and need to truncate, which without JNA will timeout
more often than not.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message