sql, server: rename server.shutdown.lease_transfer_wait
to server.shutdown.lease_transfer_timeout
#75520
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-server-and-security
DB Server & Security
In the current draining process, at the lease transfer phase, the server keeps retrying forever until all range leases on this draining node have been transferred. The cluster setting
server.shutdown.lease_transfer_wait
actually only specifies the timeout for each iteration, which means the duration of the whole lease transfer phase is not solely determined by that value. Therefore, it's inaccurate to name this setting as a "wait" period.Its current name can also be easily mixed with other real waiting period settings (e.g.
server.shutdown.drain_wait
,server.shutdown.query_wait
). Ideally,server.shutdown.lease_transfer_timeout
should be documented separately from the other waiting period settings.Jira issue: CRDB-12707
Epic: CRDB-28893
The text was updated successfully, but these errors were encountered: