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

Brad Schoening commented on CASSANDRA-10383:
--------------------------------------------

[~smiklosovic]  one of the unit tests in test_cqlsh_output.py is broken, and it 
may have been this change.

FAILED 
test/test_cqlsh_output.py::TestCqlshOutput::test_describe_columnfamily_output - 
AssertionError: Sequences differ: ['CRE[491 chars] AND bloom_filt...

 
{noformat}
>                   self.assertSequenceEqual(dedent(output).split('\n'), 
> table_desc3.split('\n'))
E                   AssertionError: Sequences differ: ['CRE[491 chars] AND 
bloom_filter_fp_chance = 0.01', "    AND [682 chars]p';"] != ['CRE[491 chars] 
AND allow_auto_snapshot = true', '    AND blo[752 chars]p';"]
E                   
E                   First differing element 18:
E                   '    AND bloom_filter_fp_chance = 0.01'
E                   '    AND allow_auto_snapshot = true'
E                   
E                   Second sequence contains 2 additional elements.
E                   First extra element 33:
E                   "    AND read_repair = 'BLOCKING'"
{noformat}
 

> Disable auto snapshot on selected tables.
> -----------------------------------------
>
>                 Key: CASSANDRA-10383
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10383
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Config, Local/Snapshots
>            Reporter: Tommy Stendahl
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>              Labels: doc-impacting, messaging-service-bump-required
>             Fix For: 4.2
>
>         Attachments: 10383.txt
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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 true it will prevent auto snapshot on the 
> table, if set to false auto snapshot will be controlled by the 
> "auto_snapshot" property in the cassandra.yaml. Default would be false.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to