HADR_ARCONTROLLER and HADR_FILESTREAM_IOMGR Wait Types in SQL Server

⏳Part of the SQL Server Wait Types Library, every wait type explained.Related deep dive: HADR_SYNC_COMMIT Wait TypeRelated pillar: High Availability

Two small Availability Group internals share this page. The definitions are Microsoft’s:

  • HADR_ARCONTROLLER_NOTIFICATIONS_SUBSCRIBER_LIST: the publisher for an availability replica event, such as a state or configuration change, waiting for exclusive read/write access to the list of event subscribers; internal use only.
  • HADR_FILESTREAM_IOMGR: the FILESTREAM Always On transport manager waiting for the reader-writer lock that protects the FILESTREAM Always On I/O manager during startup or shutdown.

Are They a Problem?

No. Neither is a known contention point. One example for the subscriber list is routine sending of log blocks to secondaries, so it is not limited to AG changes, but its totals stay small. Get Wait Statistics does not filter them out.


When They Do Matter

They do not.

The baseline to monitor for Availability Group health is not this wait. It is the send queue and redo queue for each database in sys.dm_hadr_database_replica_states, and the commit waits such as HADR_SYNC_COMMIT and HADR_DATABASE_FLOW_CONTROL. Check Always On Availability Group Latency reads the queues for you.


The HADR Background Waits

These are the Availability Group background waits: timers, worker pools and cluster plumbing that tick over whether or not anything is wrong. For AG latency and lag, start from the main page, HADR_SYNC_COMMIT.

  • HADR_SYNC_COMMITSynchronous commit. The primary waiting for a synchronous secondary to harden the log, the AG wait that costs users time.The main page for this family
  • HADR_WORK_QUEUEIdle workers. AG background workers waiting for new work, the normal state of the pool.Usually noise
  • HADR_WORK_POOLWork pool access. Concurrency control on the AG background work task object.Usually noise
  • HADR_TIMER_TASKTimers. The lock on the AG timer object, plus the waits between runs of periodic AG tasks.Usually noise
  • HADR_NOTIFICATION_DEQUEUECluster notifications. A background task waiting for the next failover cluster notification.Usually noise
  • HADR_CLUSAPI_CALLCluster API calls. Switching to preemptive mode to call the Windows failover cluster APIs.Usually noise
  • HADR_AG_MUTEXAG configuration. AG DDL or a cluster command waiting for exclusive access to the AG configuration.Usually noise
  • HADR_FILESTREAM_IOMGR_IOCOMPLETIONFILESTREAM I/O manager. The AG FILESTREAM I/O manager waiting for I/O completion.Usually noise
  • HADR_ARCONTROLLER / FILESTREAM_IOMGRInternal locks. Short waits on the AG event subscriber list and the FILESTREAM I/O manager lock.Usually noise. This page.

Where To Go Next

These AG internals are background noise. If you are chasing a real problem, start with the waits that cost you time.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *