You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brian Houser (Jira)" <ji...@apache.org> on 2021/04/07 20:23:00 UTC
[jira] [Created] (CASSANDRA-16573) CQLSH copy defaults appear to be
incorrect on website
Brian Houser created CASSANDRA-16573:
----------------------------------------
Summary: 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
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