v.23.11New Feature

Add 4-Letter Command for Leadership Resignation

Add 4-letter command for yielding/resigning leadership (https://github.com/ClickHouse/ClickHouse/issues/56352). #56354 (Pradeep Chhetri). #56620 (Pradeep Chhetri).
Introduces a new 4-letter command to yield or resign leadership in ClickHouse.

Why it matters

This feature provides a simple and efficient way to programmatically yield or resign leadership roles within ClickHouse, improving cluster management and leadership transitions without requiring complex procedures.

How to use it

Use the new 4-letter command designed for leadership yielding or resigning. This command can be executed from the ClickHouse client or appropriate cluster management tools to trigger leadership relinquishment.