You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eduard Tudenhoefner (JIRA)" <ji...@apache.org> on 2017/08/17 18:47:01 UTC
[jira] [Comment Edited] (CASSANDRA-13773) cassandra-stress writes
even data when n=0
[ https://issues.apache.org/jira/browse/CASSANDRA-13773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130849#comment-16130849 ]
Eduard Tudenhoefner edited comment on CASSANDRA-13773 at 8/17/17 6:46 PM:
--------------------------------------------------------------------------
Branch: https://github.com/nastra/cassandra/tree/CASSANDRA-13773-30
Test: https://circleci.com/gh/nastra/cassandra/4
Above test is failing because of CASSANDRA-13775. Re-running tests with excluding *stress-test* target:
Branch with CASSANDRA-13775 applied: https://github.com/nastra/cassandra/tree/CASSANDRA-13773-30-with-13775
Test with CASSANDRA-13775 applied: https://circleci.com/gh/nastra/cassandra/5
was (Author: eduard.tudenhoefner):
Branch: https://github.com/nastra/cassandra/tree/CASSANDRA-13773-30
test: https://circleci.com/gh/nastra/cassandra/4
> cassandra-stress writes even data when n=0
> ------------------------------------------
>
> Key: CASSANDRA-13773
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13773
> Project: Cassandra
> Issue Type: Bug
> Components: Stress
> Reporter: Eduard Tudenhoefner
> Assignee: Eduard Tudenhoefner
> Priority: Minor
> Fix For: 3.0.15
>
>
> This is very unintuitive as
> {code}
> cassandra-stress write n=0 -rate threads=1
> {code}
> will do inserts even with *n=0*. I guess most people won't ever run with *n=0* but this is a nice shortcut for creating some schema without using *cqlsh*
> This is happening because we're writing *50k* rows of warmup data as can be seen below:
> {code}
> cqlsh> select count(*) from keyspace1.standard1 ;
> count
> -------
> 50000
> (1 rows)
> {code}
> We can avoid writing warmup data using
> {code}
> cassandra-stress write n=0 no-warmup -rate threads=1
> {code}
> but I would still expect to have *0* rows written when specifying *n=0*.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org