Symptoms
After upgrading to SQL Server 2019, you may notice that parallel redo failure occurs on the secondary replica.
DateTime spid420s Error: 41316, Severity: 23, State: 7.
DateTime spid420s Restore operation failed for database 'DatabaseName' with internal error code '0x84000004'.
Resolution
This issue is fixed in the following cumulative update for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for your version of SQL Server:
Workaround
To work around this issue, you must enable the Trace Flag (TF) 8904 as a startup parameter.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.