Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Correctness
-
Normal
-
Normal
-
Unit Test
-
Description
This is a fix to look for the host status in ‘Status’ and ‘StatusWithPort’ attributes in GossipInfo response to determine the ‘state’ of the node.
Currently, we only check for ‘status’ which can be missing from gossipInfo in some cases, which will result in a replacement node status to be reported as `Joining` instead of `Replacing`.
eg.
Found gossipInfoEntry={generation=1697736379, schema=6d6abc83-a600-35a4-8bbe-fe5edca6a63b, rack=rack1, heartbeat=119, releaseVersion=4.1.4-SNAPSHOT, hostId=00000000-0000-4000-8000-000000000006, nativeAddressAndPort=127.0.0.6:9042, load=76459.0, internalAddressAndPort=127.0.0.6:7012, sstableVersions=big-nb, tokens=<hidden>, dc=datacenter1, netVersion=12, statusWithPort=BOOT_REPLACE,127.0.0.5:7012}
Attachments
Issue Links
- links to