You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Pederson (JIRA)" <ji...@apache.org> on 2017/04/03 20:06:41 UTC
[jira] [Created] (CASSANDRA-13406) Stress chooses batch size 1 if
cluster column name in YAML is not all lower case
Eric Pederson created CASSANDRA-13406:
-----------------------------------------
Summary: Stress chooses batch size 1 if cluster column name in YAML is not all lower case
Key: CASSANDRA-13406
URL: https://issues.apache.org/jira/browse/CASSANDRA-13406
Project: Cassandra
Issue Type: Bug
Components: Tools
Reporter: Eric Pederson
If you give the cluster column name in mixed case then the batch size is always chosen as 1, for example:
{code}
columnspec:
- name: creationdate
size: fixed(10)
population: seq(1..4000000)
- name: UniqueSequenceNumber # Note mixed case
cluster: uniform(100..200)
insert:
partitions: fixed(1)
batchtype: UNLOGGED
select: uniform(10..15)/200
{code}
Running this results in
{code}
Generating batches with [1..1] partitions and [1..1] rows (of [1..1] total rows in the partitions)
{code}
Changing the cluster column name to {{uniquesequencenumber}} gives the expected results:
{code}
Generating batches with [1..1] partitions and [5..15] rows (of [100..200] total rows in the partitions)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)