cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anubhav Kale (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-10907) Nodetool snapshot should provide an option to skip flushing
Date Fri, 15 Jan 2016 20:46:39 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-10907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anubhav Kale updated CASSANDRA-10907:
-------------------------------------
    Attachment: 0001-Skip-Flush-option-for-Snapshot.patch
                0001-Skip-Flush-for-snapshots.patch

Sorry about the delay. Modified per comments. There is a lot of scope for cleaning up existing
methods, but I am not doing that for now. 

I did add a Boolean to detect if KS / CF was passed to the proposed signature to make things
easy. 

Tested locally, and ensured existing functionality is not broken. 

> Nodetool snapshot should provide an option to skip flushing
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-10907
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10907
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Configuration
>         Environment: PROD
>            Reporter: Anubhav Kale
>            Priority: Minor
>              Labels: lhf
>         Attachments: 0001-Skip-Flush-for-snapshots.patch, 0001-Skip-Flush-option-for-Snapshot.patch,
0001-flush.patch
>
>
> For some practical scenarios, it doesn't matter if the data is flushed to disk before
taking a snapshot. However, it's better to save some flushing time to make snapshot process
quick.
> As such, it will be a good idea to provide this option to snapshot command. The wiring
from nodetool to MBean to VerbHandler should be easy. 
> I can provide a patch if this makes sense.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message