Commit Graph

1111 Commits

Author SHA1 Message Date
Mick Semb Wever aa2494b30b
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Missing license info and headers
2023-08-31 22:39:56 +02:00
Mick Semb Wever 14e89fc3c7
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Missing license info and headers
2023-08-31 22:36:33 +02:00
Mick Semb Wever ce49e775f7
Missing license info and headers
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18807
2023-08-31 22:30:42 +02:00
Stefan Miklosovic b099aae3f0
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-06-28 16:27:19 +02:00
Stefan Miklosovic b6fdc80456
Merge branch 'cassandra-3.0' into cassandra-3.11 2023-06-28 16:20:05 +02:00
Stefan Miklosovic 4ea7bb25b4
Add support for AWS Ec2 IMDSv2
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski and Brandon Williams for CASSANDRA-16555

Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
Co-authored-by: Paul Rütter <paul@blueconic.com>
2023-06-28 16:08:39 +02:00
Stefan Podkowinski e67fa69114 Remove hard-coded SSL cipher suites and protocols
patch by Stefan Podkowinski; reviewed by Robert Stupp for CASSANDRA-10508

backported in CASSANDRA-18575 by German Eichberger; reviewed by
brandonwilliams
2023-06-21 06:25:18 -05:00
Marcus Eriksson aafb4d1944 Improve nodetool enable{audit,fullquery}log
Patch by marcuse; reviewed by Dinesh Joshi and Mick Semb Wever for CASSANDRA-18550
2023-05-25 08:41:12 +02:00
Abe Ratnofsky b2660bcf78
Fix JMX security vulnerabilities
patch by Abe Ratnofsky; reviewed by Jon Meredith, Mick Semb Wever, Sam Tunnicliffe for CASSANDRA-17921
2022-10-18 22:47:49 +02:00
Joseph Lynch e73d05bf85 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-12-09 10:29:08 -05:00
Joseph Lynch 1fce84f983 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-12-09 10:26:00 -05:00
Venkata Harikrishna Nukala 1911a887e8 Fix slow keycache load which blocks startup for tables with many sstables.
Patch by Venkata Harikrishna Nukala; reviewed by Marcus Eriksson and Joseph Lynch for CASSANDRA-14898
2021-12-09 10:14:16 -05:00
Ekaterina Dimitrova 44ace88585 internode_send_buff_size_in_bytes and internode_recv_buff_size_in_bytes have new names. Backward compatibility with the old names added
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17141
2021-11-16 14:34:04 -05:00
Ekaterina Dimitrova b6f61e850c Remove unused configuration parameters from cassandra.yaml
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-17132
2021-11-16 10:30:52 -05:00
Ekaterina Dimitrova 4bb6f411d8 Fix cassandra.yaml formatting of parameters
patch by Ekaterina Dimitrova; reviewed by Josh McKenzie for CASSANDRA-17131
2021-11-10 16:36:59 -05:00
Bereng 42905e94b5 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-09-30 07:47:16 +02:00
Bereng 7c067b6d7d Add indication in cassandra.yaml that rpc timeouts going too high will cause memory build up
patch by Berenguer Blasi, Jeremy Hanna; reviewed by Andres de la Peña for CASSANDRA-8969

Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
Co-authored-by: Jeremy Hanna <jeromatron@gmail.com>
2021-09-30 07:38:40 +02:00
Brandon Williams 96884ee705 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-06-29 15:59:50 -05:00
Brandon Williams c3ae22d654 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-06-29 15:58:38 -05:00
Brandon Williams 2d8b304e75 Ninja fix comments saying mx4j defaults to 0.0.0.0
CASSANDRA-13574
2021-06-29 15:57:55 -05:00
Benjamin Lerer bdb7c3b377 Merge branch cassandra-3.11 into cassandra-4.0.0 2021-06-18 15:11:27 +02:00
Benjamin Lerer 91c12bd750 Merge branch cassandra-3.0 into cassandra-3.11 2021-06-18 14:53:54 +02:00
Benjamin Lerer 9b6dd382bd Add flag to disable ALTER...DROP COMPACT STORAGE statements
patch by Benjamin Lerer; review by Andres de la Pena and Brandon Williams for CASSANDRA-16733
2021-06-18 14:42:48 +02:00
Ekaterina Dimitrova 658f3e11a6 Improve AuditLogging documentation and logback.xml
authored by Ekaterina Dimitrova, reviewed by Sarma Pydipally, Brandon Williams for CASSANDRA-16682
2021-05-21 14:42:53 -04:00
Mick Semb Wever 7337fc0ab4
Merge branch 'cassandra-3.11' into trunk 2021-04-19 17:39:10 +02:00
Mick Semb Wever 2ec96ae669
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-19 17:34:05 +02:00
Sam Tunnicliffe dd6c261119 Add io.netty.tryReflectionSetAccessible=true to j11 server options in order to enable netty to use Unsafe direct byte buffer construction
Patch by Sam Tunnicliffe; reviewed by Brandon Williams, Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-16493
2021-03-19 17:36:13 -04:00
Jeff Widman 3d539d908f Update python2 doc references to point to py3
Patch by Jeff Widman; reviewed by brandonwilliams for CASSANDRA-16505
2021-03-09 17:15:07 -06:00
Yifan Cai 425f750a6f Document the side-effect of Zero Copy Streaming when using multiple data directories 2021-02-26 09:42:54 -08:00
Benjamin Lerer f69b11eee9 Improve system tables handling in case of disk failures
patch by Benjamin Lerer; reviewed by Andrés de la Peña and  Marcus
Eriksson for CASSANDRA-14793
2021-02-04 15:04:22 +01:00
Adam Holmberg 023eecb03a
Fix check for -Xlog in cassandra-env.sh
patch by Yakir Gibraltar; reviewed by Adam Holmberg, Mick Semb Wever for CASSANDRA-16279
2021-01-08 22:06:23 +01:00
Jeremy Hanna 3cfc8502b8
Updated default num_tokens from 256 to 16 with associated allocate_tokens_for_local_replication_factor set to 3
patch by Jeremy Hanna; reviewed by Alexander Dejanovski, Paulo Motta, Brandon Williams, Michael Semb Wever for CASSANDRA-13701
2020-12-17 22:18:17 +01:00
Benjamin Lerer 0d56f70ae7 Remove use of String.intern()
patch by Benjamin Lerer; reviewed by Brandon Williams for CASSANDRA-15810
2020-12-17 17:48:59 +01:00
Marcus Eriksson 786cb11e18 Send back client warning if creating too many tables/keyspaces
Patch by marcuse; reviewed by Alex Petrov, Brandon Williams, Yifan Cai for CASSANDRA-16309
2020-12-15 10:32:43 +01:00
yifan-c c6ea8fabf9 Add dedicated tcp user timeout for streaming connection
patch by Yifan Cai; reviewed by Berenguer Blasi, David Capwell, Adam
Holmberg and by Benjamin Lerer for CASSANDRA-16143
2020-12-09 13:33:33 +01:00
Yuki Morishita d9e2ed00af Remove windows scripts and their references
patch by Yuki Morishita; reviewed by Berenguer Blasi and Andrés de la Peña for CASSANDRA-16171
2020-12-02 16:43:45 +00:00
Sam Tunnicliffe a7c4ba9eee Improve checksumming and compression in protocol V5
This reverts the changes made to the native protocol V5 wire format in
CASSANDRA-13304 and subsequent follow up JIRAs (CASSANDRA-15556 &
CASSANDRA-14716). The framing format has been re-implemented based on the
internode messaging format developed in CASSANDRA-15066.

OPTIONS and STARTUP messages are unframed (i.e. identical to the V4 format).
After sending its response to a STARTUP message, the server modifies the
pipeline and all further messages are sent (and should be expected by the
client to be received) in the format determined by the protocol version of
the STARTUP message.

Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Caleb Rackliffe
for CASSANDRA-15299
2020-12-01 18:49:06 +00:00
Jordan West fae1f88354 Set dynamic snitch default badness threshold to 1.0
Patch by Jordan West; Reviewed by David Capwell for CASSANDRA-16285
2020-11-18 16:04:30 -08:00
Jeff Jirsa 85f69cf394 Add a ratelimiter to snapshot creation and deletion
Patch by Jeff Jirsa; Reviewed by Aleksey Yeschenko, Chris Lohfink,
maxwellguo for CASSANDRA-13019
2020-11-09 15:03:10 +01:00
Zhao Yang 699a1f74fc CASSANDRA-15229: Segregate Network and Chunk Cache BufferPools and Recirculate Partially Freed Chunks
* initiate multiple buffer pool for different lifespan and usages
  - Chunk Cache Buffer Pool - conf.file_cache_size_in_mb=512mb
  - Networking Buffer Pool - conf.temporary_cache_size_in_mb=128mb

* Add overflowSize and usedSize to buffer pool metrics

* re-circulate buffer pool Chunk for ChunkCache whenever it has free space, even thoughput it may not be able to allocate due to fragmentation

patch by Zhao Yang; reviewed by Caleb Rackliffe and Aleksey Yeschenko for CASSANDRA-15229
2020-10-15 22:55:06 +08:00
David Capwell 79e693e16e Add flag to disable chunk cache and disable by default
patch by David Capwell; reviewed by Jon Meredith, Zhao Yang for CASSANDRA-16036
2020-09-29 17:07:07 -07:00
Caleb Rackliffe 292650d968 Merge branch 'cassandra-3.11' into trunk 2020-07-30 14:10:48 +01:00
Caleb Rackliffe 2ef1f1c150 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-07-30 13:27:53 +01:00
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