You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2014/03/13 23:07:43 UTC

[jira] [Resolved] (CASSANDRA-5927) stress skipKeys option does not appear to do anything

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

Benedict resolved CASSANDRA-5927.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

> 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
>             Fix For: 2.1
>
>
> 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)