Thank you for reaching out and welcome to Microsoft Q&A.
- The error message:
AlwaysOn on Availabilty Groups transport has detected a missing log block foo availabilty database .... Log scan will be restarted- sometime has one records.
- For databases utilizing Availability Groups. The wait
HADR_LOGPROGRESS_SYNC
accumulates when replicas are processing log records and SQL Server needs to wait for replicas to synchronize internally. This is a common wait; small values are acceptable but excessive values should be investigated. - You can check the SQL Server error log for more information and examine wait statistics on the instance for other Availability Group issues. Investigate accordingly. In addition, here is an official document about how to Troubleshoot High HADR_SYNC_COMMIT wait type with Always On Availability Groups, you can learn more about the wait statistic and follow the steps in this article. Hope this can help you resolve the issue.
Feel free to share your issue here if you have any confused.
Best regards,
Lucy Chen
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/support/email-notifications