cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11474) cqlsh: COPY FROM should use regular inserts for single statement batches
Date Wed, 20 Apr 2016 12:01:25 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249720#comment-15249720
] 

Paulo Motta commented on CASSANDRA-11474:
-----------------------------------------

LGTM, I think we don't need to restrict {{test_reading_counter_without_batching}} to version
<= 3.5 (even though we currently don't exercise a specific code path on trunk, it can catch
stuff in the future). If you agree, can you remove that restriction in the PR?

After that you can mark this as ready to commit. Thank you!

> cqlsh: COPY FROM should use regular inserts for single statement batches
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11474
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11474
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Stefania
>            Assignee: Stefania
>            Priority: Minor
>              Labels: lhf
>             Fix For: 2.2.x, 3.0.x, 3.x
>
>
> I haven't reproduced it with a test yet but, from code inspection, if CQL rows are larger
than {{batch_size_fail_threshold_in_kb}} and this parameter cannot be changed, then data import
will fail.
> Users can control the batch size by setting MAXBATCHSIZE.
> If a batch contains a single statement, there is no need to use a batch and we should
use normal inserts instead or, alternatively, we should skip the batch size check for unlogged
batches with only one statement.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message