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'.


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:

Latest cumulative update for SQL Server 2019


To work around this issue, you must enable the Trace Flag (TF) 8904 as a startup parameter.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!