Is It a Problem?
By design, no. Microsoft calls it an expected condition that optimizes the log I/O, capture, and send operations. Get Wait Statistics does not filter it out, so if it ranks, you will see it. Moderate amounts on a busy AG primary are the feature working.
What It Means
It is transaction commit processing waiting to allow a group commit, so that several commit log records can go into a single log block. Fewer, fuller log blocks mean fewer flushes, captures and sends. The default threshold for the delay is 10 ms.
When It Does Matter
When it becomes prevalent and transaction throughput drops at the same time. For that case Microsoft’s KB4565944 covers two controls on SQL Server 2017 and 2019: trace flag 9546, which disables group commit, and a set of trace flags that cap the group commit time, with a note to check with Microsoft support before using them. From SQL Server 2025 the same control is a server option, availability group commit time. Both are deliberate, tested changes, not defaults to flip. First confirm throughput is actually suffering; the baseline to monitor is commits per second against this wait’s share. Keep the rest of the commit path healthy, too; tuning group commit cannot make up for a slow HADR_SYNC_COMMIT path.
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. This page.
- 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
- HADR_SEEDING_LIMIT_BACKUPSAutomatic seeding. Recorded during automatic seeding; reported as long and benign.Worth a look when it climbs
Where To Go Next
HADR_GROUP_COMMIT is usually the feature working. If you are chasing a real problem, start with the waits that cost you time.
- 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