You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org> on 2012/01/11 07:16:39 UTC

[jira] [Updated] (CASSANDRA-3725) Switch stress tool to using micros

     [ https://issues.apache.org/jira/browse/CASSANDRA-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-3725:
--------------------------------------

         Reviewer: xedin
    Fix Version/s: 1.1
         Assignee: Yuki Morishita
    
> Switch stress tool to using micros
> ----------------------------------
>
>                 Key: CASSANDRA-3725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3725
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Cathy Daw
>            Assignee: Yuki Morishita
>            Priority: Trivial
>             Fix For: 1.1
>
>
> The situation encountered is that after deleting the columns for a row in the cli new workloads don't update that columns for the rows. Brandon mentioned that stress uses millis, cli uses micros and therefore row tombstone wins.
> Test Case: Before Delete
> {code}
> // Run: stress --operation=INSERT --num-keys=1  --columns=2 --consistency-level=QUORUM --column-size=1 --threads=1 --replication-factor=1 --nodes=localhost
> // Run cassandra-cli
> [default@Keyspace1] list Standard1;       
> Using default limit of 100
> -------------------
> RowKey: 30
> => (column=C0, value=63, timestamp=1326259090065)
> => (column=C1, value=63, timestamp=1326259090065)
> 1 Row Returned.
> Elapsed time: 2 msec(s).
> [default@Keyspace1] del Standard1['30'];  
> row removed.
> [default@Keyspace1] list Standard1;     
> Using default limit of 100
> -------------------
> RowKey: 30
> {code}
> Test Case: After Delete
> {code}
> // Run: stress --operation=INSERT --num-keys=1  --columns=2 --consistency-level=QUORUM --column-size=1 --threads=1 --replication-factor=1 --nodes=localhost
> // Run cassandra-cli
> [default@Keyspace1] list Standard1;
> Using default limit of 100
> -------------------
> RowKey: 30
> 1 Row Returned.
> Elapsed time: 1 msec(s).
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira