In case of async commit setup and the backup preference set to secondary replica. I have observed, in case of high unsent log size, log backup on secondary replica starts failing for that database with error:
Connection With Primary Replica Not Active
The unsent log size was ~4GB
. There was no connectivity issues.
What factors impact log backups in multiple secondaries and async commit mode?