cassandra/conf
Sam Tunnicliffe 04533e6cda Avoid blocking AntiEntropyStage when submitting validation requests
Patch by Sam Tunnicliffe; reviewed by Benjamin Lerer for CASSANDRA-15812

Switches ValidationExecutor's work queue to LinkedBlockingQueue to
avoid blocking AntiEntropyStage when the executor is saturated. This
requires VE.corePoolSize to be set to concurrent_validations as now
it will always prefer to queue requests rather than start new threads.

This commit also adds a hard limit on concurrent_validations, as allowing
an unbounded number of validations to run concurrently is never safe.
This was always true, but setting a high value here is now more
dangerous as it controls the number of core, not max, threads.
This hard limit is linked to concurrent_compactors, so operators may
set concurrent_validations between 1 and concurrent_compactors.
The meaning of setting it < 1 has changed from "unbounded" to
"whatever concurrent_compactors is set to".

This safety valve can be overridden with a system property at startup
and/or a JMX property.

CASSANDRA-9292 removed the 1hr timeout on prepare messages, but this
was inadvertently undone when CASSANDRA-13397 was committed. As nothing
long running is done in the repair phase anymore, this timeout can
safely be reduced.

If using RepairCommandPoolFullStrategy.queue, the core pool size
for repairCommandExecutor must be increased from the default
value of 1 or else all concurrent tasks will be queued and no
more threads created.
2020-06-09 13:41:05 +01:00
..
triggers add triggers README 2013-08-17 19:13:58 -06:00
README.txt Fix ClassCastException processing expired messages 2014-07-07 00:03:18 -05:00
cassandra-env.ps1 Make C* compile and run on Java 11 and Java 8 2018-07-26 18:20:00 +02:00
cassandra-env.sh Merge branch 'cassandra-3.11' into trunk 2020-01-02 11:28:56 +01:00
cassandra-jaas.config Integrated JMX Authentication and Authorization 2016-05-02 11:44:48 +01:00
cassandra-rackdc.properties Use standard Amazon naming for datacenter and rack in Ec2Snitch. 2018-04-16 17:59:06 -07:00
cassandra-topology.properties Add comments to topology file about ipv6 configuration. 2011-03-15 17:06:24 +00:00
cassandra.yaml Avoid blocking AntiEntropyStage when submitting validation requests 2020-06-09 13:41:05 +01:00
commitlog_archiving.properties Update commitlog archiving docs now that segments aren't recycled 2015-05-27 12:03:22 -05:00
cqlshrc.sample cqlshrc.sample uses incorrect option for time formatting 2018-03-01 23:16:24 -08:00
jvm-clients.options Make C* compile and run on Java 11 and Java 8 2018-07-26 18:20:00 +02:00
jvm-server.options Make C* compile and run on Java 11 and Java 8 2018-07-26 18:20:00 +02:00
jvm8-clients.options Make C* compile and run on Java 11 and Java 8 2018-07-26 18:20:00 +02:00
jvm8-server.options Revert 4.0 GC alg back to CMS 2018-08-10 10:44:05 -07:00
jvm11-clients.options Support building Cassandra with JDK 11 2019-05-10 13:46:27 -07:00
jvm11-server.options Support building Cassandra with JDK 11 2019-05-10 13:46:27 -07:00
logback-tools.xml Unify STDOUT and SYSTEMLOG logback format 2016-07-27 15:38:32 +01:00
logback.xml CVE-2017-5929 Security vulnerability and redefine default log rotation policy. 2018-02-14 16:30:43 -05:00
metrics-reporter-config-sample.yaml Fix example metrics 2016-06-14 11:13:31 -04:00

README.txt

Required configuration files
============================

cassandra.yaml: main Cassandra configuration file
logback.xml: logback configuration file for Cassandra server


Optional configuration files
============================

cassandra-topology.properties: used by PropertyFileSnitch