PREEMPTIVE_HADR_LEASE_MECHANISM belongs to the Availability Group lease, the health check between SQL Server and the cluster. It is documented only as lease manager scheduling for support diagnostics, but in practice it ties to renewing the lease after a lease timeout. Run the check on AG state, then read the cluster log for lease timeouts.Microsoft’s definition is brief: availability group lease manager scheduling for Microsoft Support diagnostics, from SQL Server 2012. It is a thread switching to preemptive mode while renewing the lease between the failover cluster and the SQL Server resource DLL because of a lease timeout. The lease is a health check, so a timeout means something is wrong with the AG. The two descriptions differ; read the wait as a pointer to the lease, and confirm with the cluster log.
The lease and health check timeout page explains the lease itself: if SQL Server and the cluster cannot renew it in time, the cluster treats the replica as unhealthy, which can cause a failover or leave the AG in a resolving state.
Is It a Problem?
If it is accumulating alongside lease timeouts, yes, because those cause unexpected failovers and resolving states. On its own and small, it may be the documented diagnostic scheduling. It was zero on our SQL Server 2025 lab, which has no AG. Get Wait Statistics does not filter it out, so if it ranks, you will see it.
The baseline to monitor is zero lease timeout entries in the cluster log.
Common Causes
- Network problems between the node and the cluster, which, anecdotally, seem to be the major cause of lease timeouts.
- Severe CPU pressure or a non-yielding scheduler stopping SQL Server from renewing the lease in time.
- Virtual machine pauses, such as migrations or snapshots, freezing the guest past the lease timeout.
The Check To Run
Read the AG state on each replica:
SELECT
ag.name AS ag_name,
ar.replica_server_name,
ars.role_desc,
ars.operational_state_desc,
ars.connected_state_desc,
ars.synchronization_health_desc
FROM sys.dm_hadr_availability_replica_states AS ars
JOIN sys.availability_replicas AS ar ON ar.replica_id = ars.replica_id
JOIN sys.availability_groups AS ag ON ag.group_id = ars.group_id;
Then generate the cluster log and look for lease timeout entries around the times in question; the SQL Server error log records lease expiry too. Line them up with CPU, network and hypervisor events on the same timeline. The query needs VIEW SERVER STATE.
What To Do
- Fix the platform cause first: the network path between nodes, CPU saturation at those times, and hypervisor operations.
- Only then consider the AG’s lease timeout setting, described on the lease page; a longer timeout hides a sick platform at the cost of slower failure detection.
The HADR Commit and Flow Waits
These are the Availability Group waits on the path a commit takes from the primary to its secondaries: capturing log, sending it, waiting for it to harden, and the controls that throttle it. The main page is HADR_SYNC_COMMIT.
- HADR_SYNC_COMMITSynchronous commit. The primary waiting for a synchronous secondary to harden the log.The main page for this family
- HADR_DATABASE_FLOW_CONTROLFlow control. Sends paused because the queue of unacknowledged messages is full.Worth a look when it climbs
- HADR_GROUP_COMMITGroup commit. Commits held briefly so several fit into one log block; expected.Worth a look when it climbs
- HADR_LOGPROGRESS_SYNCLog progress. Concurrency control while updating each replica’s log progress.Worth a look when it climbs
- HADR_LOGCAPTURE_WAITLog capture. Waiting for log records to become available; expected when caught up.Usually noise
- PREEMPTIVE_HADR_LEASE_MECHANISMLease. The Availability Group lease manager scheduling.Worth investigating. This page.
- HADR_SEEDING_LIMIT_BACKUPSAutomatic seeding. Recorded during automatic seeding; reported as long and benign.Worth a look when it climbs
Where To Go Next
If lease timeouts are behind this wait, these are the next places to look.
- The waits that usually matter, ranked, with what each one is telling you.
- HADR_SYNC_COMMIT, the Availability Group wait that costs users time.
- Check Always On Availability Group Latency, send and redo queues for each replica.
- High Availability, the scripts and guides for Availability Groups and replicas.
Leave a Reply