19421
Product
Name
Event ID
19421
Event Source
MSSQLSERVER
Component
SQLEngine
Symbolic
Name
HADR_AG_LEASE_RENEWAL_TIMEOUT
Message Text
hosting availability group ’%.*ls’ did not receive a process event signal from
the Windows Server Failover Cluster within the lease timeout period.
Error 19421 is raised in the SQL Server error log when the lease helper on the Windows cluster
side didn’t signal the SQL Server lease worker thread within the pre-defined lease period.
Specifically, SQL Server calls
WaitForMultipleObjects()
waiting for the Lease timeout event to be
set in a signaled state. If the function returns WAIT_TIMEOUT, because it has exceeded the
specified Lease interval, then error 19421 is raised.
A lease is a time-based communication mechanism that takes place between the SQL Server
and the Windows Server Failover Cluster (WSFC) process, specifically the RHS.EXE process. The
two processes communicate with each other periodically to ensure the other process is running
and responding. This communication takes place using Windows
Event objects
and ensures
that a failover of the AG resource doesn’t occur without the knowledge of the WSFC. If one of
the processes doesn’t respond to the lease communication based on a predefined lease
period, a lease timeout occurs. For detailed information, see
Mechanics and guidelines of lease,
cluster, and health check timeouts for Always On availability groups. Also see
How It Works:
Always On Lease Timeout.
ノ
Expand table