Commit Graph

5287 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
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
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
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
Benedict Elliott Smith f5fe483d0d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-15 14:41:22 +01:00
sumanthpasupuleti 5a03898c68 Prevent client requests from blocking on executor task queue
patch by Sumanth Pasupuleti, reviewed by Benedict for CASSANDRA-15013
2019-07-15 13:13:40 +01:00
Aleksey Yeshchenko 824d25a18b Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-10 15:26:29 +01:00
Aleksey Yeshchenko 855fc91596 Toughen up column drop/recreate type validations
patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
CASSANDRA-15204
2019-07-10 15:12:47 +01:00
Benedict Elliott Smith da6268de3e Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-10 14:55:55 +01:00
Benedict Elliott Smith d50ec52d6e LegacyLayout should handle paging states that cross a collection column 2019-07-10 14:43:56 +01:00
Blake Eggleston 7206ff5ca1 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-08 15:24:21 -07:00
Zephyr Guo 177a8e91e3 Prevent RuntimeException when username or password is empty/null
Patch by Zephyr Guo; Reviewed by Blake Eggleston for CASSANDRA-15198
2019-07-08 15:21:12 -07:00
Sam Tunnicliffe 8f33dc0f13 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-07-05 19:03:42 +01:00
Sam Tunnicliffe 83baa27104 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-06-27 16:25:43 +01:00
Sam Tunnicliffe f4b6e1d51f Filter illegal legacy cells when collating rows
Alternative solution for CASSANDRA-15086, which allows the illegal cells to
be read from disk and deserialized as normal so as not to interfere with
tracking bytes read during reverse iteration of indexed partitions.

Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson for CASSANDRA-15178
2019-06-27 16:21:01 +01:00
Aleksey Yeshchenko 551469650d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-06-26 15:21:17 +01:00
Aleksey Yeshchenko dad82fbd30 Handle paging states serialized with a different version than the session's
patch by Aleksey Yeschenko; reviewed for CASSANDRA-15176 by Sam
Tunnicliffe an Blake Eggleston
2019-06-26 15:11:43 +01:00
Sam Tunnicliffe 7f4ecb0124 Ninja fix RowFilterTest
Unit test added in CASSANDRA-15126 is broken on 3.11
2019-06-03 16:32:45 +01:00
Sam Tunnicliffe 8db0d84439 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-06-03 16:01:40 +01:00
Benedict Elliott Smith e4b5d9818f Update token metadata for non-normal state changes
Patch by Benedict Elliot Smith; reviewed by Sam Tunnicliffe for CASSANDRA-15120
2019-06-03 11:46:35 +01:00
Benedict Elliott Smith a6d32bbb54 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-05-14 15:42:51 +01:00
Benedict Elliott Smith c07f3c88a4 Resource leak when queries apply a RowFilter
RowFilter.CQLFilter optionally removes those partitions that have no matching results,
but fails to close the iterator representing that partition’s unfiltered results,
leaking resources when this happens.

patch by Benedict; reviewed by Sam and Aleksey for CASSANDRA-15126
2019-05-14 15:42:14 +01:00
Sam Tunnicliffe ba01089a0f Merge branch 'cassandra-3.0' into cassandra-3.11 2019-05-08 10:03:42 +01:00
Sam Tunnicliffe daf6c85b05 Skip cells with illegal column names when reading legacy sstables
Patch by Sam Tunnicliffe; reviewed by Aleksey Yeschenko for CASSANDRA-15086
2019-05-08 09:57:32 +01:00
Blake Eggleston c86f9b8a55 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-25 15:22:17 -07:00
Blake Eggleston e7492d3114 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-04-25 15:20:27 -07:00
Blake Eggleston 5275141094 ninja: fix CASSANDRA-15078 NPE 2019-04-25 15:18:07 -07:00