scylla-jmx/src/main/java/org/apache/cassandra
Amnon Heiman 4e4589ba6f FailureDetector: check that states is not null before use
When a node is part of a cluster but is down (like in the situation where
a cluster is taken down and up again but not all nodes are up). There is
no application_state information for that node.

This patch check that the information exists before using it to prevent
null pointer exception.

After this patch, a call to nodetool gossipinfo would return the
available information without failing.

See scylladb/scylla#3330

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
Message-Id: <20180329115345.29357-1-amnon@scylladb.com>
2018-03-29 15:18:48 +03:00
..
db scylla-jmx: Add dummy "compactionId" to compation info 2016-12-22 14:17:38 +02:00
gms FailureDetector: check that states is not null before use 2018-03-29 15:18:48 +03:00
locator Code formatting + source cleanup (eclipse) 2016-10-24 11:43:52 +00:00
metrics TableMetrics: bugfix: local metrics registry is a proxy. It must proxy 2017-05-28 14:02:32 +03:00
net Code formatting + source cleanup (eclipse) 2016-10-24 11:43:52 +00:00
repair Add the RepairParallelism enum 2015-08-27 20:46:02 +03:00
service fix auto_compaction request strings 2017-08-21 22:55:31 -04:00
streaming Code formatting + source cleanup (eclipse) 2016-10-24 11:43:52 +00:00