[ 
https://issues.apache.org/jira/browse/CASSANDRA-10383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950474#comment-14950474
 ] 

Tommy Stendahl commented on CASSANDRA-10383:
--------------------------------------------

I have created a new patch based on 3.2, you find it 
[here|https://github.com/tommystendahl/cassandra/tree/cassandra-10383-trunk].
* I have updated test_cqlsh_completion.py.
* I have created unit tests in SchemaKeyspaceTest
* I have extracted cfs.metadata.params.allowAutoSnapshot && 
DatabaseDescriptor.isAutoSnapshot() to a new method in CFS.
* I have looked at the ThriftConversion and I see the problem when updating via 
Thrift, I added a solution for that but I'm not sure it should be done that 
way, I can remove it if you think its wrong maybe there is a better way.

> Disable auto snapshot on selected tables.
> -----------------------------------------
>
>                 Key: CASSANDRA-10383
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10383
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Tommy Stendahl
>            Assignee: Tommy Stendahl
>             Fix For: 2.1.x
>
>         Attachments: 10383.txt
>
>
> I have a use case where I would like to turn off auto snapshot for selected 
> tables, I don't want to turn it off completely since its a good feature. 
> Looking at the code I think it would be relatively easy to fix.
> My plan is to create a new table property named something like 
> "disable_auto_snapshot". If set to false it will prevent auto snapshot on the 
> table, if set to true auto snapshot will be controlled by the "auto_snapshot" 
> property in the cassandra.yaml. Default would be true.



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

Reply via email to