pub async fn take_lease(
db: Database,
period: Duration,
role: &'static str,
holder: String,
) -> LeadershipExpand description
Waits for the master’s lease (see Leadership::take) as holder (a new incarnation of
the master of role: crate::node::new_master_id), logging once that it waits as a
standby.