I have log shipping configured to leave the secondary database in Recovering mode, with log shipping set at 15 minute intervals. If I run profiler, I see the error below for every database that is being log-shipped every 15 minutes:
Application name: "SQL Server Log Shipping"
Error: 927
Database name: "master"
messsage: "Database 'name_of_database' cannot be opened. It is in the middle of a restore."
"SELECT * FROM msdb.dbo.log_shipping_monitor_error_detail" returns nothing
"SELECT * FROM msdb.dbo.log_shipping_monitor_history_detail" returns many rows that show all restores succeeded
So the question is, why is the error occurring if there is no other evidence that anything is failing?
Application name: "SQL Server Log Shipping"
Error: 927
Database name: "master"
messsage: "Database 'name_of_database' cannot be opened. It is in the middle of a restore."
"SELECT * FROM msdb.dbo.log_shipping_monitor_error_detail" returns nothing
"SELECT * FROM msdb.dbo.log_shipping_monitor_history_detail" returns many rows that show all restores succeeded
So the question is, why is the error occurring if there is no other evidence that anything is failing?