You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a leader is handling raft operations leadership transfer may be delayed. If such operations are capable of starving the leadership transfer process, then a throttling mechanism is required to support forward progress of leadership transfer.
In principle this may not be needed for acks=all because followers will be up-to-date and leadership transfer will be just another raft operation that will complete. However, for acks=0,1 the leader may be far ahead of the followers. Since followers need to be caught up before leadership transfer completes, on-going writes may result in starvation of the transfer process.
ivotron
modified the milestones:
Rolling upgrade safety,
v22.1.1Feb 23, 2022
dotnwat
changed the title
raft: bound leadership transfer time with throttling
raft: bound leadership transfer time with blocking/throttling
Mar 22, 2022
If a leader is handling raft operations leadership transfer may be delayed. If such operations are capable of starving the leadership transfer process, then a throttling mechanism is required to support forward progress of leadership transfer.
In principle this may not be needed for acks=all because followers will be up-to-date and leadership transfer will be just another raft operation that will complete. However, for acks=0,1 the leader may be far ahead of the followers. Since followers need to be caught up before leadership transfer completes, on-going writes may result in starvation of the transfer process.
Additional notes
JIRA Link: CORE-787
The text was updated successfully, but these errors were encountered: