Commit Graph

18119 Commits

Author SHA1 Message Date
Stefan Miklosovic 89df37d4bb Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-16 19:29:23 +02:00
Stefan Miklosovic 7da28ef378 SSL storage port in sstableloader is deprecated
this is the follow-up commit which deprecates ssl storage port for backward compatibility

patch by Stefan Miklosovic; reviewed by Jon Meredith for CASSANDRA-17602
2022-06-16 19:26:02 +02:00
Brandon Williams 96ef1d231c Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-16 09:01:24 -05:00
Brandon Williams 51ce71881c filter out dead replicas for counter writes
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-17411
2022-06-16 09:00:02 -05:00
Brandon Williams 7f38db348e Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-16 06:00:57 -05:00
Brandon Williams c3998ef601 Return an empty collection when a node is not a member
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-17680
2022-06-16 05:59:42 -05:00
Stefan Miklosovic 67632edc51 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-13 10:43:17 +02:00
Stefan Miklosovic 2531dd1eba remove ssl storage port from sstableloader
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17602
2022-06-13 10:36:56 +02:00
Stefan Miklosovic 457e16c27e fix flaky GossipInfoTableTest
patch by Stefan Miklosovic; reviewed by Andrés de la Peña for CASSANDRA-17584
2022-06-07 22:15:11 +02:00
Sathyanarayanan Saravanamuthu 9b4784bdb7 Fix missed nowInSec values in QueryProcessor
patch by Sathyanarayanan Saravanamuthu; reviewed by Andrés de la Peña, Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-17458

Co-authored-by: Sathyanarayanan Saravanamuthu <sathya.kplm@outlook.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-06-07 13:03:19 +01:00
Ekaterina Dimitrova 2eac2590bf Revert removal of withBufferSizeInMB(int size) to CQLSSTableWriter.Builder and deprecate it in favor of withBufferSizeIniB(int size);update the docs
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-17675
2022-06-02 15:31:23 -04:00
Caleb Rackliffe 663e51d928 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-06-02 12:10:52 -05:00
Caleb Rackliffe a00d8fd5ba Ensure FileStreamTask cannot compromise shared channel proxy for system table when interrupted
patch by Caleb Rackliffe; reviewed by Jon Meredith and David Capwell for CASSANDRA-17663
2022-06-02 11:59:19 -05:00
Paulo Motta a604c0d4de Remove expired snapshots of dropped tables after restart
Patch by Paulo Motta; reviewed by Stefan Miklosovic for CASSANDRA-17619

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2022-05-29 09:57:49 +02:00
Brandon Williams 00250199c0 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-05-24 06:01:28 -05:00
Brandon Williams 7ea24711cc silence benign SslClosedEngineException
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17565
2022-05-24 05:58:06 -05:00
Ekaterina Dimitrova a67a2a2441 Handle config parameters upper bound on startup; Fix auto_snapshot_ttl and paxos_purge_grace_period min unit validations
patch by Ekaterina Dimitrova and Andres de la Pena; reviewed by Andres de la Pena and Caleb Rackliffe for CASSANDRA-17571

Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-05-20 14:27:20 -04:00
Andrés de la Peña c1d163abad Merge branch 'cassandra-4.0' into cassandra-4.1 2022-05-20 11:52:34 +01:00
Andrés de la Peña 5cf6db30f6 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-05-20 11:47:06 +01:00
Andrés de la Peña 0e1d068d92 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-05-20 11:43:56 +01:00
Doug Rohrer ffc4c89c3d Fix issue where frozen maps may not be serialized in the correct order
patch by Doug Rohrer, Francisco Guerrero and Yifan Cai; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17623

Co-authored-by: Doug Rohrer <drohrer@apple.com>
Co-authored-by: Francisco Guerrero <frank.guerrero@gmail.com>
Co-authored-by: Yifan Cai <ycai@apache.org>
2022-05-20 11:38:19 +01:00
Ekaterina Dimitrova c635f198f6 Fix leak of non-standard Java types in our Exceptions as clients using JMX are unable to handle them
Remove useless validation that leads to unnecessary additional read of cassandra.yaml on startup
patch by Ekaterina Dimitrova; review by David Capwell for CASSANDRA-17638
2022-05-19 14:35:02 -04:00
David Capwell f451c2b028 jvm-dtest unhandled exceptions failing the test no longer work
patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-17549
2022-05-13 10:14:26 -07:00
Brandon Williams 7dbea1a8cb Merge branch 'cassandra-4.0' into cassandra-4.1 2022-05-13 06:56:49 -05:00
Brandon Williams ac0266be69 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-05-13 06:54:03 -05:00
Brandon Williams d043217ff0 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-05-13 06:50:40 -05:00
Maciej Sokol 5d427ff6e5 Fsync TOC and Digest files after they're written
Patch by Maciej Sokol; reviewed by brandonwilliams and bereng for
CASSANDRA-10709
2022-05-13 06:41:07 -05:00
Ekaterina Dimitrova f57c8d2c25 Fix repair_request_timeout_in_ms and remove paxos_auto_repair_threshold_mb
patch by Benedict Elliott Smith and Ekaterina Dimitrova; reviewed by Benedict Elliott Smith and Blake Eggleston for CASSANDRA-17557
2022-05-10 21:05:41 -04:00
David Capwell 89fbb1acf4 Incremental repair leaks SomeRepairFailedException after switch away from flatMap
patch by David Capwell; reviewed by Benedict Elliott Smith for CASSANDRA-17620
2022-05-10 15:24:54 -07:00
David Capwell 6396562f71 StorageService read threshold get methods throw NullPointerException due to not handling null configs
patch by David Capwell; reviewed by Berenguer Blasi for CASSANDRA-17593
2022-05-10 12:41:33 -07:00
Alex Sorokoumov 9f3bc65727 Reject oversized mutations on client and internode connection
Patch by Alex Sorokoumov; reviewed by Andres de la Peña and Josh McKenzie for CASSANDRA-17456
2022-05-09 10:57:14 +02:00
Benedict Elliott Smith 596daeb7f0 Optimise BTree build, update and transform operations
Patch Benedict Elliott Smith; reviewed by Branimir Lambov and Benjamin Lerer for CASSANDRA-15510
2022-05-06 18:15:16 +02:00
Josh McKenzie 030831c5f5 Rename truncate_drop guardrail to drop_truncate_table
Patch by Josh McKenzie; reviewed by Andres de la Pena for CASSANDRA-17592
2022-05-06 11:48:45 -04:00
Brandon Williams c9ed13c425 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-05-05 05:57:06 -05:00
Brandon Williams a524cd4907 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-05-05 05:55:11 -05:00
Brandon Williams aeced876b5 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-05-05 05:55:00 -05:00
Jermy Li 61d4cccb0b Fix URISyntaxException in nodetool with updated Java
Patch by Jermy Li; reviewed by bereng and brandonwilliams for
CASSANDRA-17581
2022-05-05 05:53:47 -05:00
David Capwell 559b17f71d nodetool enablefullquerylog can NPE when directory has no files
patch by David Capwell; reviewed by Jon Meredith for CASSANDRA-17595
2022-05-04 09:32:39 -07:00
Marcus Eriksson 3b648ca09e Use TimeUUID serializer for BATCH_REMOVE_REQ
Patch by marcuse; reviewed by Benedict Elliott Smith for CASSANDRA-17451
2022-05-04 08:18:33 +02:00
Paulo Motta 7741eacc54 Add auto_snapshot_ttl configuration
Patch by Paulo Motta; Reviewed by Stefan Miklosovic for CASSANDRA-16790

Co-authored-by: fibersel <0583463@gmail.com>
2022-04-30 17:28:17 -03:00
Paulo Motta 31aa17a2a3 List snapshots of dropped tables
Patch by Paulo Motta; Reviewed by Stefan Miklosovic and Brandon Williams or CASSANDRA-16843
2022-04-29 19:00:34 -03:00
Jacek Lewandowski 458bfd16c7 Add information info whether sstables are dropped or not to SchemaChangeListener
patch by Jacek Lewandowski; reviewed by Alex Petrov for CASSANDRA-17582
2022-04-29 13:44:25 -04:00
Branimir Lambov e4e19e33fa Add memtable API (CEP-11)
patch by Branimir Lambov; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17034
2022-04-29 14:56:20 +03:00
Jacek Lewandowski 77d6bbf25a Save sstable id as string in activity table
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-17585
2022-04-29 12:37:01 +01:00
Stefan Miklosovic bd36cb9f6b implement startup check to prevent Cassandra to potentially spread zombie data
patch by Stefan Miklosovic; reviwed by Paulo Motta and Brandon Williams for CASSANDRA-17180
2022-04-29 13:22:51 +02:00
Marcus Eriksson 7ce140bd1d Fail starting when the same parameter exists more than once in cassandra.yaml
Patch by marcuse; reviewed by David Capwell and Ekaterina Dimitrova for CASSANDRA-17379
2022-04-29 10:31:20 +02:00
Savni Nagarkar da7c662227 Migrate threshold for minimum keyspace replication factor to guardrails
patch by Savni Nagarkar; reviewed by Andres de la Peña, David Capwell for CASSANDRA-17212
2022-04-28 20:14:36 -07:00
Stefan Miklosovic 2180a34bbb Revert "Add a system property to set hostId if not yet initialized"
This reverts commit 33ff36cc42.

patch by Stefan Miklosovic; reviewed by Brandon Williams and Sam Tunnicliffe for CASSANDRA-14582
2022-04-28 15:09:46 +02:00
Jon Meredith 0c37176673 Merge branch 'cassandra-4.0' into trunk 2022-04-27 12:06:52 -06:00
Jon Meredith 2405d523fa Merge branch 'cassandra-3.11' into cassandra-4.0 2022-04-27 12:03:28 -06:00