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
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
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
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>
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
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