v.19.3Improvements
Added Info About the Replicated_can_become_leader Setting to System.replicas and Add Logging If the Replica Won't Try to Become Leader
Added info about the replicated_can_become_leader setting to system.replicas and add logging if the replica won't try to become leader. #4379 (Alex Zatelepin)
Why it matters
This feature enhances observability and troubleshooting of replicated tables by exposing thereplicated_can_become_leader setting directly in the system tables. It helps users understand which replicas are eligible to become leaders and provides logs when leadership elections are skipped, improving cluster management and debugging.How to use it
Users can query thesystem.replicas table to see the new replicated_can_become_leader column. Additionally, relevant logs will be generated automatically when a replica refrains from trying to become leader, requiring no additional configuration.