You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Schrauwen (JIRA)" <ji...@apache.org> on 2011/07/18 16:09:58 UTC
[jira] [Commented] (CASSANDRA-2907) durable_writes flag cannot be
changed via the CLI (system does not process KsDef.durable_writes option
properly).
[ https://issues.apache.org/jira/browse/CASSANDRA-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067041#comment-13067041 ]
Benjamin Schrauwen commented on CASSANDRA-2907:
-----------------------------------------------
+1
I can confirm that this patch now allows to pass the test I mentioned in the initial post. Thanks for the super fast fix!
> durable_writes flag cannot be changed via the CLI (system does not process KsDef.durable_writes option properly).
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2907
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2907
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.8.1
> Reporter: Benjamin Schrauwen
> Assignee: Pavel Yaskevich
> Priority: Minor
> Labels: Core
> Fix For: 0.8.2
>
> Attachments: CASSANDRA-2907.patch
>
>
> I am unable to change the durable_writes option in the CLI. Here are the commands to replicate the problem on a clean install:
> create keyspace test;
> update keyspace test with durable_writes=false;
> show keyspaces;
> It will still say:
> Keyspace: test:
> Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
> Durable Writes: true
> Options: [datacenter1:1]
> Column Families:
> PS: I looked in the tests of the CLI code of CASSANDRA-2683 and saw that the feature actually is not properly tested: the flag is set, but never tested.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira