[
https://issues.apache.org/jira/browse/CASSANDRA-19782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sam Tunnicliffe updated CASSANDRA-19782:
----------------------------------------
Since Version: NA
Source Control Link:
https://github.com/apache/cassandra/commit/32755cabfa2eeb99f0b8c91fc7bb53379259de54
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
Committed, thanks!
> Host replacements no longer fully populate system.peers table
> -------------------------------------------------------------
>
> Key: CASSANDRA-19782
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19782
> Project: Cassandra
> Issue Type: Bug
> Components: Transactional Cluster Metadata
> Reporter: David Capwell
> Assignee: Sam Tunnicliffe
> Priority: Normal
> Fix For: 5.x
>
> Attachments: ci_summary.html
>
>
> When running harry after a host replacement was done a failure happened due
> to peers having the new node, but not the tokens for it (leading to a NPE in
> harry). I took the test
> org.apache.cassandra.distributed.test.hostreplacement.HostReplacementTest#replaceDownedHost
> and made one small change; log peers after the host replacement
> 4.1:
> {code}
> INFO [main] <main> 2024-07-18 09:36:48,211 HostReplacementTest.java:107 -
> Peers table from node1:
> [/127.0.0.3, datacenter0, 00000000-0000-4000-8000-000000000003, null, rack0,
> 4.1.5-SNAPSHOT, /127.0.0.3, 94a14fb6-2cd9-3d1d-af84-a30e257aa7b8,
> [9223372036854775805]]
> {code}
> Trunk:
> {code}
> INFO [main] <main> 2024-07-18 09:38:59,568 HostReplacementTest.java:109 -
> Peers table from node1:
> [/127.0.0.3, null, null, null, null, 5.1.0-SNAPSHOT, /127.0.0.3,
> 00000000-0000-0000-0000-00000000000a, null]
> {code}
> Several fields are missing
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]