Affects Version/s: 7.0
Fix Version/s: None
When a replica comes up that was deleted from ZK while it was gone, it can replace replicas in ZK if the collection an core names are equal.
- Create collection1 with 1 shard, 2 replicas on node1 and node2
- Shut down node2
- Delete collection1
- Create collection1 on node1 and node3
- Start node2
node2 will not initialize node as it is not assigned to in ZK (legacyCloud=false)
node2 will overwrite the baseurl in state.json for one of the replicas as the coreNodeName and the collection name will match the core it has.