cassandra/test
Stefan Miklosovic c1b12058e7
Do not set RPC_READY to false on transports shutdown in order to not fail counter updates for deployments with coordinator and storage nodes with transports turned off
This is the follow-up commit of CASSANDRA-18935 where we set RPC_READY to false
when transports were shut down in runtime. The problem is that the current logic in StorageProxy.findSuitableEndpoint method,
used for the selection of a leader for counter mutations, is filtering out all endpoints which do not have RPC_READY
set to true. Hence, if there is a deployment of a coordinator node (not joining a ring) and storage nodes which
have transports turned off (e.g. for security reasons), then a coordinator node will select no endpoint as a
counter mutation leader which renders counter mutations impossible.

This change just reverts the original fix which was setting RPC_READY to false when transports were shut down in runtime
(e.g. by nodetool disablebinary).

For trunk (to be 5.1 at time of writing this), there is already TCM in place and the correct fix yet to be implemented
is to decouple from checking RCP_READY state and base it e.g. on JOINED state from TCM perspective. Please follow
CASSANDRA-19103 where this will be addressed.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18935
2023-11-29 12:09:59 +01:00
..
anttasks/org/apache/cassandra/anttasks Introduce check for names of test classes 2023-01-28 16:18:51 +01:00
burn/org/apache/cassandra Ignore LongSharedExecutorPoolTest until SEPThreadpool is re-evaluated 2021-09-24 12:09:17 -04:00
conf Add flag to disable ALTER...DROP COMPACT STORAGE statements 2021-06-18 14:42:48 +02:00
data Prevent loss of commit log data when moving sstables between nodes 2021-05-05 16:41:01 +02:00
distributed/org/apache/cassandra Do not set RPC_READY to false on transports shutdown in order to not fail counter updates for deployments with coordinator and storage nodes with transports turned off 2023-11-29 12:09:59 +01:00
long/org/apache/cassandra Fix updating base table rows with TTL not removing materialized view entries 2017-12-07 08:17:06 +11:00
microbench/org/apache/cassandra/test/microbench Fix slow keycache load which blocks startup for tables with many sstables. 2021-12-09 10:14:16 -05:00
resources Fix rat checking for files with missing license headers 2021-04-19 17:18:26 +02:00
unit/org/apache/cassandra ninja fix CASSANDRA-19002: Set gcgs in HintsMaker to Integer.MAX_VALUE 2023-11-20 10:26:59 +01:00