Commit Graph

23258 Commits

Author SHA1 Message Date
Dinesh A. Joshi 9c1925a558 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-28 10:46:29 -07:00
Dinesh A. Joshi bfa79983d2 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-10-28 10:40:33 -07:00
Jon Meredith 02cc5df0ed In-JVM DTest: Set correct internode message version for upgrade test
On instance startup, if using mock internode messaging,
find out what version of internode messaging should be used
for other endpoints and configure the messaging service.

Also adds a more helpful diagnostic message when versions are
not supported.

Patch by Jon Meredith; Reviewed by Dinesh Joshi for CASSANDRA-15371
2019-10-28 10:32:48 -07:00
Michael Shuler b697af87f8 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-24 11:21:29 -05:00
Michael Shuler a81bfd6b7d Use `rm -f` in rpm spec to prevent failure on missing file 2019-10-24 11:21:09 -05:00
Michael Shuler 0047502fb5 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-24 09:49:54 -05:00
Michael Shuler 3a4fac8440 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-10-24 09:49:32 -05:00
Michael Shuler 4ee4ceea28 Fix 2.2 deb Build-Depends JDK version to match build.xml source.version 2019-10-24 09:49:13 -05:00
Michael Shuler 94577bc4dc Prepare for release, set version build date, fix whitespace/typo 2019-10-24 09:00:41 -05:00
Michael Shuler 39879b0313 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-24 08:57:59 -05:00
Michael Shuler 98f56c1208 Prepare for release, set version build date, fix whitespace 2019-10-24 08:57:29 -05:00
Michael Shuler b2ed5c195a Merge branch 'cassandra-2.2' into cassandra-3.0 2019-10-24 08:54:28 -05:00
Michael Shuler f00e01f0b2 Prepare for release, set version build date 2019-10-24 08:54:03 -05:00
Marcus Eriksson 1c3394d73b Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-24 10:19:56 +01:00
Marcus Eriksson 9cba621f50 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-10-24 10:16:14 +01:00
Marcus Eriksson 9081d00881 Avoid adding fake row deletions if they are superseeded by the partition deletion
Patch by marcuse; reviewed by Aleksey Yeshchenko and Benedict Elliott Smith for CASSANDRA-15363
2019-10-24 10:03:17 +01:00
Mick Semb Wever b20daee68d
Fix SASI non-literal string comparisons (range operators)
patch by mazhenlin; reviewed by Mick Semb Wever for CASSANDRA-15169
2019-10-17 08:04:35 +02:00
Dinesh A. Joshi 4675b3fd33 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-08 14:10:40 -07:00
Dinesh A. Joshi 93815db985 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-10-08 14:04:25 -07:00
Jon Meredith 58a5ce14ba In-JVM DTest: Add network topology and tracing support
In-JVM DTest: readRepairTest - Set read repair query to CL.ALL

The current test relies on the order of nodes returned by the snitch
to include node3, which SimpleSnitch does.  With support for other
snitches coming then the test should be able to handle any order
of nodes - so make sure all nodes are present.

In-JVM DTest: remove minimum messaging service calculation

Match change on trunk to resolves issue with trying to call
getMessagingVersion on nodes that are not started.  Fixes
mixed version upgrades once all branches are updated.

Patch by Jon Meredith; Reviewed by Dinesh Joshi and Alex Petrov for CASSANDRA-15319
2019-10-08 13:53:15 -07:00
Sam Tunnicliffe 3040965668 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-08 18:44:48 +01:00
Sam Tunnicliffe 0388d89e29 Allow max protocol version to be capped
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Aleksey
Yeschenko for CASSANDRA-15193
2019-10-08 18:09:52 +01:00
Blake Eggleston a63df4de3e Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-07 11:33:59 -07:00
Blake Eggleston 39a431d9d8 Gossip tokens on startup if available
Patch by Blake Eggleston; Reviewed by Marcus Eriksson and Sam Tunnicliffe for CASSANDRA-15335
2019-10-07 11:31:17 -07:00
Blake Eggleston d0e0e021d6 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-07 11:18:16 -07:00
Blake Eggleston cbecd5f283 Fix resource leak in CompressedSequentialWriter
Patch by Blake Eggleston; Reviewed by Marcus Eriksson for CASSANDRA-15340
2019-10-07 11:15:28 -07:00
Blake Eggleston 5e5a1071cf Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-07 10:57:53 -07:00
Blake Eggleston a4af4aa60a Fix bad merge that reverted CASSANDRA-14993
Patch by Blake Eggleston; Reviewed by Stefan Podkowinski for CASSANDRA-15289
2019-10-07 10:55:14 -07:00
Paulo Motta eb2c549940 ninja: fix build error on LegacyLayoutTest 2019-08-23 14:14:56 +02:00
Mick Semb Wever 0bea2fac8c
Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-22 13:34:42 +02:00
Benedict Elliott Smith 2b10a5f2b5
Fix LegacyLayout RangeTombstoneList IndexOutOfBoundsException when upgrading and RangeTombstone bounds are asymmetric.
patch by Benedict Elliott Smith; reviewed by Mick Semb Wever for CASSANDRA-15172
2019-08-22 09:36:07 +02: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
Mick Semb Wever bb126c038b
Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-12 18:18:27 +02:00
Mick Semb Wever 54aeb50759
ninja fix CHANGES.txt for #14952 2019-08-12 18:10:04 +02:00
Mick Semb Wever 5d72cdde8e
Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-09 19:44:01 +02:00
Mick Semb Wever 2374a74eba
Fix NPE when using allocate_tokens_for_keyspace on new DC/rack
patch by Jaydeepkumar Chovatia; reviewed by Mick Semb Wever for CASSANDRA-14592
2019-08-09 19:41:18 +02:00
Benedict Elliott Smith c7ca9b8ecb Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-07 13:08:36 +01:00
Benedict Elliott Smith 50608af522 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-08-07 13:07:57 +01:00
Liudmila Kornilova f21106fcd0 Catch non-IOException in FileUtils.close so all resources are closed
patch by Liudmila Kornilova; reviewed by Benedict Elliott Smith for CASSANDRA-15225
2019-08-07 13:05:47 +01:00
Marcus Eriksson 01c6daf6e7 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-07 10:51:45 +02:00
Marcus Eriksson 9af57a508d Filter sstables earlier when running cleanup
Patch by marcuse; reviewed by Jordan West for CASSANDRA-15100
2019-08-07 10:48:23 +02:00
Marcus Eriksson b773bc7ac5 Make sure user defined compaction transactions are always closed
Patch by marcuse; reviewed by Blake Eggleston for CASSANDRA-15123
2019-08-07 10:10:07 +02:00
Blake Eggleston 6b0b792f66 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-08-06 10:19:14 -07:00
Jordan West da8d41f497 Use mean row count instead of mean column count for index selectivity calculation
patch by Jordan West; reviewed by Blake Eggleston for CASSANDRA-15259
2019-08-06 10:14:05 -07:00
Jay Zhuang 71cb0616b7 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-18 21:24:37 -07:00
Jay Zhuang 3f70e7c72c Avoid updating unchanged gossip states
patch by Jay Zhuang; reviewed by Sam Tunnicliffe for CASSANDRA-15097
2019-07-18 21:16:32 -07:00
Aleksey Yeshchenko 670dde9c57 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-16 18:22:58 +01:00
Vincent White fc862e207b Prevent recreation of previously dropped columns with a different kind
patch by Vincent White; reviewed by Aleksey Yeschenko for
CASSANDRA-14948

Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Vincent White <vince@instaclustr.com>
2019-07-16 18:21:43 +01:00