cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (Jira)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-16573) CQLSH copy defaults appear to be incorrect on website
Date Fri, 30 Jul 2021 12:51:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-16573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-16573:
---------------------------------------
    Status: Needs Reviewer  (was: Patch Available)

> 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.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.3.4#803005)

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


Mime
View raw message