Improvement for SQL Server AlwaysOn Lease Timeout supportability in SQL Server 2012 and 2014

Summary
This update includes the following improvement for Microsoft SQL Server AlwaysOn Lease Timeout supportability:
  • System performance data reported on lease timeout

    Lease timeouts are frequently a symptom of a system-wide event that prevents lease renewal for a lease timeout period. Unresponsive disk subsystem, 100% CPU usage, or (for virtualization) contention on the host server are all examples of issues that could trigger the lease timeout. If there is a lease timeout, the following system performance objects are reported in the Cluster log: 

    Processor time (%), Available memory (bytes), Avg disk sec/read and Avg disk sec/write

    The last five retained sets of performance data are reported, whose collection interval is dictated by the frequency at which sp_server_diagnostics results are processed by the SQL Server resource DLL (hosted in RHS.EXE). By default, this is every 10 seconds.

    The following is an example of the dataset. Assume a 10-second interval; the performance data reports on these objects for the last 50 seconds. The first message reports the lease timeout. The next message is a heading of the forthcoming performance data in the next five messages so that you can read the output like a table.
     
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] Lease timeout detected, logging perf counter data collected so far
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] Date/Time, Processor time(%), Available memory(bytes), Avg disk read(secs), Avg disk write(secs)
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] date time, 3.216014, 2219802624.000000, 0.001333, 0.000355
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] date time, 3.010540, 2219888640.000000, 0.001150, 0.000963
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] date time, 5.524332, 2224078848.000000, 0.000000, 0.000697
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] date time, 3.334432, 2224504832.000000, 0.001367, 0.000438
    00002968.000019c8::date time WARN  [RES] SQL Server Availability Group: [hadrag] date time, 9.189380, 2225078272.000000, 0.001367, 0.000834 

Update information

This functionality was fist introduced in the following Service Packs and cumulative update for SQL Server.

Cumulative Update 3 for SQL Server 2012 Service Pack 3.

Recommendation: Install the latest cumulative update for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


About Service packs for SQL Server

Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. Our recommendation is to apply the latest service pack and the latest cumulative update for that service pack. You do not have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article for finding more information about the latest service pack and latest cumulative update.

How to determine the version, edition and update level of SQL Server and its components
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about lease time out, see the Improved AlwaysOn Availability Group Lease Timeout Diagnostics topic on the Microsoft Developer (MSDN) website.

Learn about the terminology that Microsoft uses to describe software updates.
Properties

Article ID: 3156304 - Last Review: 07/11/2016 16:57:00 - Revision: 2.0

Microsoft SQL Server 2012 Developer, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Standard, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise Core, Microsoft SQL Server 2014 Express

  • kbqfe kbfix kbexpertiseinter kbsurveynew KB3156304
Feedback