Commit Graph

225 Commits

Author SHA1 Message Date
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
Branimir Lambov 661f1aab17 Correct memtable on-heap size calculations to match actual use (CASSANDRA-16318)
Patch by Ekaterina Dimitrova and Branimir Lambov; reviewed by Benjamin Lerer and Branimir Lambov for CASSANDRA-16318
2021-01-19 14:08:20 -05:00
David Capwell 63b172e137 Add ability for jvm-dtest to grep instance logs
patch by David Capwell; reviewed by Alex Petrov, Yifan Cai for CASSANDRA-16120
2020-10-05 21:27:14 -07: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
Brandon Williams 1a14c3ac48 Allow sstableloader to use SSL on the native port.
Patch by Ian Cleasby, reviewed by brandonwilliams for CASSANDRA-14904
2020-03-19 10:47:16 -05:00
Jon Meredith 7dc5b700b7 Merge branch 'cassandra-3.11' into trunk 2019-08-20 16:10:59 +01:00
Jon Meredith 3df63ed054 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-15 14:21:23 -06:00
Jon Meredith 51c0f6b2f0 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-08-15 14:14:48 -06:00
Jon Meredith 8dcaa12baa Allow instance class loaders to be garbage collected for inJVM dtest
Backport support optional network/gossip test features,
instance generations and subnet support from trunk.

Backport MessageFilter and cluster builder API changes to match
trunk (except for the change in namespace for Verbs).

Add a test for repeatedly creating/tearing down in-JVM dtest
clusters to help find resource leaks.

Change IsolatedExecutor to clean up on an executor with zero
core threads so that it exits sooner enabling GC on the
InstanceClassLoader.  Moved classloader close after shutdown to prevent
improve logging when the isolated executor is shutdown.

Update the logback config for dtests to make it obvious
which log threads are for instances vs the main logger.

Disable native library loading until it can be reinstated
(tracked in CASSANDRA-15170).

Shutdown various executors and threads that were
preventing the instance classloader from being unloaded.

Add test-jvm-dtest-some ant target

Patch by Jon Meredith; Reviewed by Alex Petrov and
Benedict Elliott Smith for CASSANDRA-15170
2019-08-15 10:12:06 -06: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
Dinesh Joshi dccf53061a Add Zstd compressor
Patch by Dinesh Joshi; Reviewed by Blake Eggleston for CASSANDRA-14482
2019-02-22 15:06:06 -08: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
Benedict Elliott Smith 2209115972 Merge branch 'cassandra-3.11' into trunk 2019-02-05 10:53:05 +00:00
Benedict Elliott Smith a6059f1fee Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-05 10:52:17 +00:00
Benedict Elliott Smith aa2a5c6994 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-02-05 10:51:28 +00:00
Benedict Elliott Smith c100f1ac40 Multi-version in-JVM dtests
patch by Benedict; reviewed by Alex Petrov for CASSANDRA-14937
2019-02-05 10:49:16 +00:00
Joseph Lynch 27b35799a4 Add port to seed provider information in test yaml
Patch by Joseph Lynch; reviewed by Sam Tunnicliffe for CASSANDRA-14956
2019-02-04 11:25:25 +00:00
Benedict Elliott Smith 2f2455be5f Merge branch 'cassandra-3.11' into trunk 2019-01-21 17:45:15 +00:00
Benedict Elliott Smith 2d05bff0ba Merge branch 'cassandra-3.0' into cassandra-3.11 2019-01-21 17:44:36 +00:00
Benedict Elliott Smith 459945bcf4 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-01-21 17:43:26 +00:00
Benedict Elliott Smith fdb1735010 In JVM dtests need to clean up after instance shutdown
Followup - isolate executions for a given node to an executor owned by the instance

patch by Benedict; reviewed by Alex Petrov for CASSANDRA-14922
2019-01-21 10:13:48 +00:00
Alex Petrov 1d5e0301f3 Introduce in-jvm distributed tests
Patch by Alex Petrov and Benedict Elliott Smith; reviewed by Benedict Elliott Smith and Dinesh Joshi for CASSANDRA-14821.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-01-21 10:13:48 +00:00
Benedict Elliott Smith a43b651f8e Unit test stdout capture is malfunctioning in 4.0
patch by Benedict; reviewed by Alex Petrov for CASSANDRA-14974
2019-01-15 16:20:03 +00:00
Alex Petrov f22fec927d Introduce in-jvm distributed tests
Patch by Alex Petrov and Benedict Elliott Smith; reviewed by Benedict Elliott Smith and Dinesh Joshi for CASSANDRA-14821.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2018-11-16 19:41:58 +01: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
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
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
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
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
Josh McKenzie e9da85723a Make CDC availability more deterministic via hard-linking
Patch by jmckenzie; reviewed by blambov for CASSANDRA-12148
2017-08-24 13:24:00 -04: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
Robert Stupp 9c6f87c35f Merge branch 'cassandra-3.11' into trunk 2017-06-28 21:17:06 +02:00
Robert Stupp 9562b9b69e Properly evict pstmts from prepared statements cache
patch by Robert Stupp; reviewed by Benjamin Lerer for CASSANDRA-13641
2017-06-28 21:15:03 +02:00
Ariel Weisberg 66cd42ef61 Merge branch 'cassandra-3.11' into trunk 2017-03-23 11:33:27 -04:00
Ariel Weisberg 3e95c5b0c5 Set <includeCallerData>true</includeCallerData> in test/conf/logback-test.xml
Patch my Michael Kjellman; Reviewed by Ariel Weisberg for CASSANDRA-13317
2017-03-23 11:31:47 -04:00
Joel Knighton 8b74ae4b64 Merge branch 'cassandra-3.11' into trunk 2017-03-22 13:29:09 -05:00
Joel Knighton ec9ce3dfba Merge branch 'cassandra-3.0' into cassandra-3.11 2017-03-22 13:22:43 -05:00
Sylvain Lebresne 4881d9c308 Thrift removal
patch by Sylvain Lebresne; reviewed by Aleksey Yeschenko for CASSANDRA-11115
2016-12-13 10:27:12 +01:00
Stefan Podkowinski c4cb915eaf Replace keystore for utests with non export restricted cipher keys
patch by Stefan Podkowinski; reviewed by Jason Brown for CASSANDRA-12945
2016-11-29 11:06:08 -08:00
Stefan Podkowinski 554d53664c Replace keystore for utests with non export restricted cipher keys
patch by Stefan Podkowinski; reviewed by Jason Brown for CASSANDRA-12945
2016-11-28 05:14:19 -08:00
Marcus Eriksson d4d71cd331 Merge branch 'cassandra-3.0' into trunk 2016-08-17 15:38:12 +02:00
Marcus Eriksson 5694a2ac3f Debug logging for unit tests
Patch by marcuse; reviewed by Michael Shuler for CASSANDRA-12425
2016-08-17 15:08:08 +02:00
Jérôme Mainaud e1393ec54f Unify STDOUT and SYSTEMLOG logback format
Patch by Jérôme Mainaud; Reviewed by Paulo Motta for CASSANDRA-12004
2016-07-27 15:38:32 +01:00
Josh McKenzie e31e216234 Add Change Data Capture
Patch by jmckenzie; reviewed by cyeksigian and blambov for CASSANDRA-8844
2016-06-16 10:01:39 -04:00
Aleksey Yeschenko 84db205b41 Merge branch 'cassandra-3.0' into trunk 2016-02-29 17:20:13 +00:00
Aleksey Yeschenko 6328590808 Merge branch 'cassandra-2.2' into cassandra-3.0 2016-02-29 17:19:19 +00:00
Stefan Podkowinski a24bd6c6a5 Preserve order for preferred SSL cipher suites
Patch by Stefan Podkowinski and Tom Petracca; reviewed by Stefania for CASSANDRA-11164
2016-02-29 17:17:47 +00:00
Robert Stupp fdee887b42 Merge branch 'cassandra-3.0' into trunk 2016-02-19 10:30:50 +01:00
Robert Stupp a76a8efcc7 Prevent logging in sandboxed state
patch by Robert Stupp; reviewed by Tyler Hobbs for CASSANDRA-11033
2016-02-19 10:28:30 +01:00
Benedict Elliott Smith 2f41243191 9472: Reintroduce Off-Heap Memtables
patch by benedict and stefania
2016-01-27 10:49:26 +00:00