Skip to main content Module lease Copy item path Source Deadline ๐ A lease deadline in nanoseconds since LEASE_EPOCH . It only moves forward; 0 means none. GrantedLease ๐ A region lease the metasrv granted for a heartbeat sent at sent_at. GrantedLeases ๐ The lease of the latest heartbeat each region received, whether or not the region applied it.
It is kept apart from the region instance, so a reopen during catchup keeps it. GrantedLeasesInner ๐ LeaseWaiter ๐ Removes the waiter of a region from GrantedLeases when dropped. NodeLease ๐ Lease of this node: the latest deadline of the heartbeat responses that carry region leases. LEASE_EPOCH ๐ The instant lease deadlines count from, so that a deadline fits in an AtomicU64 . lease_nanos ๐