Bug: Python dtest replace_address_test.TestReplaceAddress is failing with Paxos V2
Status: Open
Priority: Normal
Created: 01/Dec/23 15:16

Paxos repair is causing an unexpected failure:
{code}
test_replace_with_insufficient_replicas
replace_address_test.TestReplaceAddress

failed on teardown with "Failed: Unexpected error found in node logs (see stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during startup\njava.lang.UnsupportedOperationException: null\n\tat org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']"
Unexpected error found in node logs (see stdout for full details). Errors: [[replacement] 'ERROR [main] 2023-11-29 10:23:08,752 CassandraDaemon.java:878 - Exception encountered during startup\njava.lang.UnsupportedOperationException: null\n\tat org.apache.cassandra.locator.AbstractReplicaCollection$ReplicaMap$AbstractImmutableSet.removeAll(AbstractReplicaCollection.java:298)\n\tat org.apache.cassandra.service.ActiveRepairService.repairPaxosForTopologyChange(ActiveRepairService.java:1102)\n\tat org.apache.cassandra.service.StorageService.startRepairPaxosForTopologyChange(StorageService.java:4829)\n\tat org.apache.cassandra.service.StorageService.tryRepairPaxosForTopologyChange(StorageService.java:4760)\n\tat org.apache.cassandra.service.StorageService.repairPaxosForTopologyChange(StorageService.java:4793)\n\tat org.apache.cassandra.service.StorageService.bootstrap(StorageService.java:2120)\n\tat org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1240)\n\tat org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:1200)\n\tat org.apache.cassandra.service.StorageService.initServer(StorageService.java:979)\n\tat org.apache.cassandra.service.StorageService.initServer(StorageService.java:896)\n\tat org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:377)\n\tat org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:721)\n\tat org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:856)']
{code}