In a Microsoft Exchange Server 2010 environment, the replay queue length on passive copies of mailbox databases in Database Availability Group (DAG) may continue to increase. The log files are copied to the passive copies of the mailbox databases successfully. However, the log files are not replayed into the mailbox databases. Additionally, when the Microsoft Exchange Replication service starts, the following event is logged in the Application log:
Log Name: Application Source: ExchangeStoreDB Event ID: 142 Task Category: Database recovery Level: Error Keywords: Classic Description: At <Date/Time> the Microsoft Exchange Information Store Database <Database Name> copy on this server encountered an error during the attempt to replay logs. Consult the event log on the server for other "ExchangeStoreDb" or "msexchangerepl" events for more specific information about the failure. The operation will be retried automatically.
This issue occurs when the mailbox databases have the "Don't mount this database at startup" check box selected. In this situation, Extensible Storage Engine cannot attach to the databases to replay the logs.
To resolve this issue, install the following update rollup:
2425179 Description of Update Rollup 2 for Exchange Server 2010 Service Pack 1
To work around this issue, clear the "Don't mount this database at startup" check box from the databases properties. To do this, use one of the following methods.
Method 1: To perform this operation in the Exchange Management Console, follow these steps:
In the Exchange Management Console, expand Organization Configuration and then expand Mailbox.
Select and then right-click the database.
Click Properties and then click the Maintenance tab.
Clear the "Don't mount this database at startup" check box.
Click Apply and then click OK.
Restart the Microsoft Exchange Replication service.
Method 2: To perform this operation in the Exchange Management Shell, follow these steps:
Run the following command in the Exchange Management Shell: