[ https://issues.apache.org/jira/browse/CASSANDRA-16573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorina Poland updated CASSANDRA-16573: -------------------------------------- Component/s: Documentation (was: Documentation/Website) > 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 > Reporter: Brian Houser > Assignee: Brian Houser > Priority: Normal > Fix For: 3.11.x > > 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.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org