cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Schrauwen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2907) durable_writes flag cannot be changed via the CLI (system does not process KsDef.durable_writes option properly).
Date Mon, 18 Jul 2011 14:09:58 GMT

    [ 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

        

Mime
View raw message