Caleb Rackliffe
e5c3d08a14
Operational improvements and hardening for replica filtering protection
...
patch by Caleb Rackliffe; reviewed by Andrés de la Peña for CASSANDRA-15907
2020-07-30 12:53:52 +01:00
Benedict Elliott Smith
d8993934e9
Remove BackPressureStrategy
...
patch by Benedict; reviewed by Sergio Bossa and Robert Stupp for CASSANDRA-15375
2020-07-17 13:39:16 +01:00
Jeremy Hanna
688bb664c5
USING_G1 is incorrectly set in cassandra-env.sh if G1 is explicitly disabled with -UseG1GC
...
Patch by Jeremy Hanna, reviewed by David Capwell and brandonwilliams for
CASSANDRA-15931
2020-07-08 11:21:56 -05:00
Jeremy Hanna
8599f93d9a
Update compaction_throughput_mb_per_sec default from 16 to 64
...
patch by Jeremy Hanna; reviewed by Mick Semb Wever for CASSANDRA-14902
2020-07-08 12:10:32 +02:00
Bereng
4654ef09c1
FBUtilities.getJustLocalAddress falls back to lo ip on misconfigured nodes
...
patch by Berenguer Blasi; reviewed by Robert Stupp, Mick Semb Wever for CASSANDRA-15901
2020-07-07 10:12:12 +02:00
Jeremy Hanna
3cfe3c9f0d
Fail fast when -Xmn is set when the G1 garbage collector is enabled
...
patch by Jeremy Hanna; reviewed by Anthony Grasso for CASSANDRA-15839
2020-06-24 12:53:53 +02:00
Joseph Lynch
674b6cc1a5
Update defaults for server and client TLS settings
...
This fixes backwards compatibility with the 3.11 server_encryption_options
while exposing the correct defaults after the 4.0 Netty refactor.
Patch by Joseph Lynch; Reviewed by Ekaterina Dimitrova for CASSANDRA-15262
2020-06-20 18:59:41 -07:00
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
polandll
57a63f8551
Improving Cassandra configuration docs
...
* Update copyright date to 2020
* Add glossary
* Rearranged rackdc for better flow
* Add topologies properties file
* Add commitlog_archiving file
* Add logback.xml info
* jvm.options files
* Removed invalid reference to wiki from configuration file
Patch by Lorina Poland; Reviewed by Jon Haddad for CASSANDRA-15822
2020-06-03 11:24:38 -07:00
Stefan Miklosovic
dd1c811f87
Provide ability to configure IAuditLogger
...
Patch by Stefan Miklosovic; reviewed by Vinay Chella and marcuse for CASSANDRA-15748
2020-05-20 16:49:33 +02:00
Joseph Lynch
9c1bbf3ac9
Flush with fast compressors by default
...
Previously Zstd, Deflate and LZ4HC could hold up the flush thread while
flushing due to their slow compression rates. With this patch we always
default to flush with a fast compressor (default to LZ4) and then
compress into the high compression strategy during normal compactions
that follow. Note that if the existing table compressor is fast (e.g.
LZ4 or Snappy) we use that.
Patch by Joey Lynch; reviewed by Dinesh Joshi for CASSANDRA-15379
2020-04-23 23:23:18 -07:00
Ekaterina Dimitrova
9d2ffad6b6
Set cross_node_timeout to true by default.
...
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for
CASSANDRA-15216
2020-01-15 16:35:44 -06:00
Mick Semb Wever
2da9af002a
Merge branch 'cassandra-3.11' into trunk
2020-01-02 11:28:56 +01:00
Mick Semb Wever
1381c875e8
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-01-02 11:27:33 +01:00
Mick Semb Wever
3edbb09e02
Configure the GC logs directory to be the same as other C* log directories, as defined by $CASSANDRA_LOG_DIR
...
patch by Angelo Polo; reviewed by Mick Semb Wever for CASSANDRA-14306
2020-01-02 11:23:09 +01:00
Per Otterström
d5e5c459f5
Align record header of FQL and audit binary log
...
Patch by Per Otterström; reviewed by Vinay Chella and marcuse for CASSANDRA-15076
2019-11-28 09:43:07 +01:00
Mick Semb Wever
068d2d37c6
Add `allocate_tokens_for_local_rf` yaml option for token allocation that doesn't require keyspace knowledge/existence
...
patch by Mick Semb Wever; reviewed by Branimir Lambov for CASSANDRA-15260
2019-09-08 20:28:40 +02:00
Michael Shuler
d4054e0cf8
ninja: Fix "No newline at end of file" in c*.yaml
...
After building artifacts, a diff is left over, so let's fix that:
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index 28d86fd10a..e776a5a620 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -1341,4 +1341,4 @@ enable_sasi_indexes: false
# Enables creation of transiently replicated keyspaces on this node.
# Transient replication is experimental and is not recommended for production use.
-enable_transient_replication: false
\ No newline at end of file
+enable_transient_replication: false
2019-09-04 10:31:22 -07:00
Alex Petrov
0240a4659d
Introduce optional timeouts for idle client sessions
...
Patch by Alex Petrov, reviewed by Aleksey Yeshchenko for CASSANDRA-11097
2019-07-10 23:02:17 +02:00
Benedict Elliott Smith
310a48efcf
Rewrite the internode messaging subsystem
...
patch by Aleksey Yeschenko and Benedict Elliott Smith; reviewed by Alex
Petrov, Aleksey Yeschenko, and Benedict Elliott Smith for CASSANDRA-15066
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-06-12 16:26:54 +01:00
Mick Semb Wever
797ec05a6a
Merge branch 'cassandra-3.11' into trunk
2019-05-27 11:31:50 +10:00
Mick Semb Wever
60bdfb1731
Fix cassandra-env.sh to use $CASSANDRA_CONF to find cassandra-jaas.config
...
Patch by Angelo Polo; Reviewed by Mick Semb Wever for CASSANDRA-14305
2019-05-27 11:24:23 +10:00
Blake Eggleston
aa762c6d52
Support building Cassandra with JDK 11
...
Patch by Blake Eggleston; Reviewed by Dinesh Joshi and Sam Tunnicliffe for CASSANDRA-15108
2019-05-10 13:46:27 -07:00
Mick Semb Wever
439c8278f0
Merge branch 'cassandra-3.11' into trunk
2019-04-01 20:51:06 +11:00
Mick Semb Wever
8ac2e4244d
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-04-01 20:47:14 +11:00
Mick Semb Wever
47910df834
Merge branch 'cassandra-2.2' into cassandra-3.0
2019-04-01 20:46:17 +11:00
Mick Semb Wever
6fc3df93b8
Update comment link to mx4j in cassandra-env.sh
...
patch by Jearvon Dharrie; reviewed by Mick Semb Wever for CASSANDRA-14950
2019-04-01 20:40:19 +11:00
Andrés de la Peña
094689acf1
Merge branch 'cassandra-3.11' into trunk
...
# Conflicts:
# CHANGES.txt
# conf/cassandra.yaml
# src/java/org/apache/cassandra/config/Config.java
# src/java/org/apache/cassandra/config/DatabaseDescriptor.java
# src/java/org/apache/cassandra/cql3/statements/CreateIndexStatement.java
# src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java
# src/java/org/apache/cassandra/db/view/View.java
# test/unit/org/apache/cassandra/cql3/ViewTest.java
# test/unit/org/apache/cassandra/index/sasi/SASICQLTest.java
2019-02-19 15:08:10 +00:00
Andrés de la Peña
e6a61be8c8
Add flag to disable SASI indexes, and warning on creation
...
patch by Andres de la Peña; reviewed by Robert Stupp for CASSANDRA-14866
2019-02-19 14:20:06 +00:00
Blake Eggleston
70e6f2952f
Merge branch 'cassandra-3.11' into trunk
2019-02-14 13:25:09 -08:00
Blake Eggleston
126853068d
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-02-14 13:21:38 -08:00
Joseph Lynch
b30c8c98a5
Improve merkle tree size and time on heap
...
Patch by Joseph Lynch; Reviewed by Blake Eggleston for CASSANDRA-14096
2019-02-14 13:19:30 -08:00
Benedict Elliott Smith
49f72af792
Merge branch 'cassandra-3.11' into trunk
2018-12-06 15:52:38 +00:00
Benedict Elliott Smith
d5021659cc
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-12-06 15:52:04 +00:00
sumanthpasupuleti
b82a42fd9a
Disable immediate flusher by default for cassandra-3.0 and cassandra-3.11
...
patch by Michael Burman and Sumanth Pasupuleti; reviewed by Benedict for CASSANDRA-14855
2018-12-06 15:49:55 +00:00
Michael Burman
fff6eec290
Backport ImmediateFlusher to cassandra-3.0 and cassandra-3.11
...
patch by Michael Burman and Sumanth Pasupuleti; reviewed by Benedict for CASSANDRA-14855
2018-12-06 15:48:50 +00:00
Vinay Chella
f46762eeca
Audit log allows system keyspaces to be audited via configuration options
...
Patch by Vinay Chella; reviewed by Per Otterström and marcuse for CASSANDRA-14498
2018-11-19 12:34:34 +01:00
Joseph Lynch
bfbc5274f2
Partitioned outbound internode TCP connections can occur when nodes restart
...
Patch by Joseph Lynch; Reviewed by Ariel Weisberg for CASSANDRA-14358
2018-11-01 17:35:23 -04:00
Jeff Jirsa
0766f7e541
Improve wording around partitioner selection
...
Patch by Aaron Ploetz; Reviewed by Dinesh Joshi, Kurt Greaves for CASSANDRA-14798
2018-10-31 14:54:08 -07:00
pksivar
6e00ab956e
Allow using custom script for chronicle queue BinLog archival
...
Patch by Pramod K Sivaraju and marcuse; reviewed by Ariel Weisberg
and Sam Tunnicliffe for CASSANDRA-14373
2018-10-11 13:06:34 +02:00
Sam Tunnicliffe
5fbb938ada
Detect inconsistencies in repaired data on the read path
...
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson and Jordan West for CASSANDRA-14145
2018-09-05 19:07:12 +01:00
Sam Tunnicliffe
65fb17a88b
Add checksumming to the native protocol
...
Patch my Michael Kjellman and Sam Tunnicliffe; reviewed by Dinesh Joshi
and Jordan West for CASSANDRA-13304
2018-09-01 22:41:37 +01:00
Ariel Weisberg
f7431b4328
Transient Replication and Cheap Quorums
...
Patch by Blake Eggleston, Benedict Elliott Smith, Marcus Eriksson, Alex Petrov, Ariel Weisberg; Reviewed by Blake Eggleston, Marcus Eriksson, Benedict Elliott Smith, Alex Petrov, Ariel Weisberg for CASSANDRA-14404
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2018-08-31 21:34:22 -04:00
Dinesh A. Joshi
7b61b0be88
Disable old native protocol versions on demand
...
patch by Dinesh Joshi; reviewed by jasobrown for CASSANDRA-14659
2018-08-30 14:12:38 -07:00
Michael Burman
96ef514917
Remove Netty timed batching and instead do the batch during next
...
eventLoop invocation after a write has been enqueued. Old behavior can
be enabled with setting native_transport_flush_in_batches_legacy
patch by Michael Burman; reviewed by Benedict for CASSANDRA-13651
2018-08-24 16:07:39 +01:00
Stefan Podkowinski
2846b22a70
Add diagnostic events base classes
...
patch by Stefan Podkowinski; reviewed by Mick Semb Wever for CASSANDRA-13457
2018-08-17 14:06:57 +02:00
Jason Brown
ed806594e5
Revert 4.0 GC alg back to CMS
...
patch by jasobrown; reviewed by Jordan West for CASSANDRA-14636
2018-08-10 10:44:05 -07:00
Dinesh A. Joshi
47a12c52a3
Stream entire SSTables when possible
...
patch by Dinesh Joshi; reviewed by Aleksey Yeschenko and Ariel Weisberg
for CASSANDRA-14566
2018-07-27 17:50:25 +01:00
Robert Stupp
6ba2fb9395
Make C* compile and run on Java 11 and Java 8
...
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-9608
2018-07-26 18:20:00 +02:00
Jason Brown
176d4bac22
Make PeriodicCommitLogService.blockWhenSyncLagsNanos configurable
...
patch by jasobrown; reviewed by Jordan West for CASSANDRA-14580
2018-07-22 03:20:46 -07:00
Marcus Eriksson
5d87677650
Add option to sanity check tombstones on reads/compaction
...
Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-14467
2018-06-05 12:47:20 -07:00
Jason Brown
4f1094e668
Merge branch 'cassandra-3.11' into trunk
2018-05-12 05:33:02 -07:00
Jason Brown
443088fd13
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-05-12 05:31:34 -07:00
Shyam Phirke
b9b2a4e1a0
Cassandra not starting when using enhanced startup scripts in windows
...
patch by Shyam Phirke; reviewed by jasobrown CASSANDRA-14418
2018-05-12 05:28:20 -07:00
Vinay Chella
f56871b88b
Audit logging for database activity
...
patch by Vinay Chella; reviewed by jasobrown for CASSANDRA-12151
2018-05-11 05:44:16 -07:00
Mick Semb Wever
4268761695
Merge branch 'cassandra-3.11' into trunk
2018-05-10 12:47:50 +10:00
Mick Semb Wever
df9475086d
Detect OpenJDK jvm type and architecture
...
Patch by Stefan Podkowinski; Reviewed by Mick Semb Wever for CASSANDRA-12793
2018-05-10 12:46:03 +10:00
Marcus Eriksson
d14a9266c7
Automatic sstable upgrades
...
Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-14197
2018-05-09 08:17:33 +02:00
Blake Eggleston
54de771e64
Add network authz
...
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-13985
2018-04-23 09:55:31 -07:00
Aleksey Yeshchenko
2fcd29b830
Eliminate background repair and probablistic read_repair_chance table options
...
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-13910
2018-04-18 11:41:17 +01:00
Gregory Ramsperger
fd44a69fce
Use standard Amazon naming for datacenter and rack in Ec2Snitch.
...
patch by Gregory Ramsperger and jasobrown; reviewed by Joey Lynch for CASSANDRA-7839
2018-04-16 17:59:06 -07:00
nvharikrishna
42827e6a67
Yaml comments: data_file_directories distributes data evenly by partitioning its token ranges.
...
Patch by Venkata Harikrishna Nukala; Reviewed by Jeff Jirsa for CASSANDRA-14372
2018-04-10 21:22:19 -07:00
Alex Ott
73fa27cc6a
cqlshrc.sample uses incorrect option for time formatting
...
Closes #197
Patch by Alex Ott; Reviewed by Jeff Jirsa for CASSANDRA-14243
2018-03-01 23:16:24 -08:00
Michael Shuler
c0aa79e545
CVE-2017-5929 Security vulnerability and redefine default log rotation policy.
...
Patch by Michael Shuler; Reviewed by Ariel Weisberg for CASSANDRA-14183
2018-02-14 16:30:43 -05:00
Stefan Podkowinski
bb9aa09881
Use JRE default key store algorithm instead of SunX509
...
patch by Stefan Podkowinski; reviewed by Jason Brown for CASSANRA-13259
2018-02-14 11:29:59 +01:00
Paulo Motta
6034c268c3
Merge branch 'cassandra-3.11' into trunk
2018-02-10 15:03:59 -02:00
Paulo Motta
0a6b6f506b
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-02-10 14:59:28 -02:00
Paulo Motta
c231ed5be0
Merge branch 'cassandra-2.2' into cassandra-3.0
2018-02-10 14:57:53 -02:00
Ariel Weisberg
da58565ebc
Revert ProtocolVersion changes from CASSANDRA-7544
...
Patch by Ariel Weisberg; Reviewd by Jason Brown for CASSANDRA-14211
2018-02-01 17:20:00 -05:00
Ariel Weisberg
59b5b6bef0
Allow storage port to be configurable per node
...
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-7544
2018-01-25 14:32:24 -05:00
Jason Brown
d569c831cb
Merge branch 'cassandra-3.11' into trunk
2017-12-13 19:53:42 -08:00
Jason Brown
c000827afd
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-12-13 19:52:31 -08:00
Jason Brown
db788fe860
Improve commit log chain marker updating
...
patch by jasobrown; reviewed by Ariel Weisberg for CASSANDRA-14108
2017-12-13 19:51:34 -08:00
Benjamin Lerer
17e602b7d2
Merge branch cassandra-3.11 into trunk
2017-12-12 10:52:23 +01:00
Benjamin Lerer
a7c45be936
Merge branch cassandra-3.0 into cassandra-3.11
2017-12-12 10:42:50 +01:00
Benjamin Lerer
dd187d105b
Merge branch cassandra-2.2 into cassandra-3.0
2017-12-12 10:32:36 +01:00
Benjamin Lerer
02aba7343c
Rely on the JVM to handle OutOfMemoryErrors
...
patch by Benjamin Lerer; reviewed by Joshua McKenzie for CASSANDRA-13006
2017-12-12 10:21:05 +01:00
Jason Brown
2402acd47e
Merge branch 'cassandra-3.11' into trunk
2017-12-05 05:11:21 -08:00
Jason Brown
c3a1a4fa80
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-12-05 05:08:22 -08:00
Jason Brown
05cb556f90
More frequent commitlog chained markers
...
patch by jasobrown; reviewed by Sam Tunnecliffe for CASSANDRA-13987
2017-12-05 05:06:38 -08:00
Ariel Weisberg
ae837806bd
Support a means of logging all queries as they were invoked.
...
Patch by Ariel Weisberg; Reviewed by Blake Eggleston
2017-12-04 18:06:30 -05:00
Yuji Ito
f3f90c1896
Add GroupCommitLogService
...
patch by Yuji Ito and jasobrown; reviewed by Ariel Weisberg for CASSANDRA-13530
2017-12-01 13:12:20 -08:00
Andrés de la Peña
4c80eeece3
Parallelize initial materialized view build
...
patch by Andres de la Peña; reviewed by Paulo Motta for CASSANDRA-12245
2017-12-01 14:58:12 +01:00
Jason Brown
260846685b
Node to Node encryption transitional mode
...
patch by jasobrown; reviewed by Stefan Podkowinski for CASSANDRA-10404
2017-11-03 05:06:38 -07:00
Jason Brown
87962dcf36
Merge branch 'cassandra-3.11' into trunk
2017-11-02 10:47:17 -07:00
Jason Brown
c8a3b58bdb
ninja-fix comment to correct the default RING_DEALY value
2017-11-02 10:46:24 -07:00
Blake Eggleston
569c6abcfa
Merge branch 'cassandra-3.11' into trunk
2017-10-26 14:06:24 -07:00
Blake Eggleston
ea443dfe3e
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-10-26 14:03:33 -07:00
Blake Eggleston
b8697441d7
Add flag to disable materialized views, and warnings on creation
...
Patch by Blake Eggleston; Reviewed by Aleksey Yeschenko for CASSANDRA-13959
2017-10-26 13:54:37 -07:00
Zhao Yang
a586f6c88d
Improve config validation and documentation on overflow and NPE
...
patch by Zhao Yang; reviewed by Kurt Greaves for CASSANDRA-13622
2017-09-12 15:06:23 +01:00
Andrés de la Peña
1a679cf5b6
Merge branch 'cassandra-3.11' into trunk
2017-09-12 14:55:31 +01:00
Andrés de la Peña
12841938a0
Merge branch 'cassandra-3.0' into cassandra-3.11
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/config/DatabaseDescriptor.java
2017-09-12 14:52:18 +01:00
Zhao Yang
8fc9275d30
Improve config validation and documentation on overflow and NPE
...
patch by Zhao Yang; reviewed by Kurt Greaves for CASSANDRA-13622
2017-09-12 14:31:07 +01:00
Jay Zhuang
41ef972b18
simplify mx4j configuration
...
patch by Jay Zhuang; reviewed by jasobrown for CASSANDRA-13578
2017-08-24 09:13:56 -07:00
Jason Brown
d2dcd7f884
force minumum timeout value
...
patch by Varun Barala; reviewed by jasobrown for CASSANDRA-9375
2017-08-23 15:08:11 -07:00
Jason Brown
356dc3c253
switch internode messaging to netty
...
patch by jasobrown, reviewed by pcmanus for CASSANDRA-8457
2017-08-22 13:54:44 -07:00
Tomas Repik
12d4e2f189
Change default start_native_transport to true and remove from jvm.options
...
patch by Tomas Repik; reviewed by Stefan Podkowinski for CASSANDRA-13656
2017-07-20 09:43:02 +02:00
Joaquin Casares
082af0a9ba
Remove unused max_value_size_in_mb config setting
...
Fixes #124
Patch by Joaquin Casares; Reviewed by Jeff Jirsa for CASSANDRA-13625
2017-06-21 16:58:03 -07:00
Blake Eggleston
8028d4bdd6
Add configurable upper bound for validation executor threads
...
Patch by Blake Eggleston; Reviewed by Jeff Jirsa for CASSANDRA-13521
2017-05-18 16:15:33 -07:00
Blake Eggleston
f8159ac507
Bring back maxHintTTL propery
...
Patch by Blake Eggleston, reviewed by Aleksey Yeschenko for CASSANDRA-12982
2017-05-16 14:37:33 -07:00