v.23.1Experimental Feature
Added SYSTEM DROP DATABASE REPLICA Command to Remove Dead Replicas
AddedSYSTEM DROP DATABASE REPLICAthat removes metadata of a dead replica of aReplicateddatabase. Resolves #41794. #42807 (Alexander Tokmakov).
Why it matters
This feature resolves issues with stale or dead replicas by allowing users to clean up their metadata, ensuring cluster stability and preventing conflicts caused by orphaned replica information.How to use it
Use the command:SYSTEM DROP DATABASE REPLICA 'replica_name'to remove the metadata of a dead replica from a
Replicated database.