You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2021/07/16 18:40:00 UTC

[jira] [Commented] (CASSANDRA-16573) CQLSH copy defaults appear to be incorrect on website

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

Ekaterina Dimitrova commented on CASSANDRA-16573:
-------------------------------------------------

Hey [~bhouser], thank you for both tickets and fixes. We are currently in transition to Antora and the new web site. I guess it would be better to follow up on those when those big changes are released in order not to incur conflicts.

 

CC [~lorina@datastax.com] and [~mck]

> CQLSH copy defaults appear to be incorrect on website
> -----------------------------------------------------
>
>                 Key: CASSANDRA-16573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Documentation/Website
>            Reporter: Brian Houser
>            Assignee: Brian Houser
>            Priority: Normal
>             Fix For: 3.11.11
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The documentation on the website for the defaults of CQLSH appear to be incorrect and contain numerous errors (at least for the latest and greatest)
> For this page:
> [https://cassandra.apache.org/doc/latest/tools/cqlsh.html]
> {{MINBATCHSIZE}} is listed as defaulting to 2.  Code says this is 10.
> https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/copyutil.py#L355
> Chunksize says 1000, actually set to 5000.
> https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/copyutil.py#L352
> NumProcessis is also off...
> "NUMPROCESSES
>  The number of child worker processes to create for COPY tasks. Defaults to a max of 4 for COPY FROM and 16 for COPY TO. However, at most (num_cores - 1) processes will be created."
>  Default is the number of cores -1 or 16 which ever is smaller, and you can set this value to anything.  See the following code
> https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/copyutil.py#L361
> https://github.com/apache/cassandra/blob/trunk/pylib/cqlshlib/copyutil.py#L407
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org