[
https://issues.apache.org/jira/browse/CASSANDRA-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13067200#comment-13067200
]
Hudson commented on CASSANDRA-2907:
-----------------------------------
Integrated in Cassandra-0.8 #222 (See
[https://builds.apache.org/job/Cassandra-0.8/222/])
fix updating KS with durable_writes=false
patch by pyaskevich; reviewed by jbellis for CASSANDRA-2907
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147974
Files :
* /cassandra/branches/cassandra-0.8/CHANGES.txt
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/config/KSMetaData.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/migration/UpdateKeyspace.java
> 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: Core
> Affects Versions: 0.8.1
> Reporter: Benjamin Schrauwen
> Assignee: Pavel Yaskevich
> Priority: Minor
> 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