cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5927) stress skipKeys option does not appear to do anything
Date Thu, 13 Mar 2014 22:03:43 GMT

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

Jonathan Ellis updated CASSANDRA-5927:
--------------------------------------

    Assignee: Benedict

> stress skipKeys option does not appear to do anything
> -----------------------------------------------------
>
>                 Key: CASSANDRA-5927
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5927
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: 1.2.8
>            Reporter: Chris Burroughs
>            Assignee: Benedict
>            Priority: Minor
>
> I don't see it used anywhere in the code.  FWIW I *thought* when it worked the option
was "start at key X" instead of "Fraction of keys to skip initially".
> {noformat}
> $ grep -rni skipkeys ./tools/stress/src/org/
> ./tools/stress/src/org/apache/cassandra/stress/Session.java:122:    private float skipKeys
      = 0;
> ./tools/stress/src/org/apache/cassandra/stress/Session.java:199:                skipKeys
= Float.parseFloat(cmd.getOptionValue("N"));
> ./tools/stress/src/org/apache/cassandra/stress/Session.java:513:    public float getSkipKeys()
> ./tools/stress/src/org/apache/cassandra/stress/Session.java:515:        return skipKeys;
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message