We log ship several DBs from primary to secondary server. Looking at mdb.dbo.log_shipping_monitor_error_detail on secondary server.
Seeing this error pattern over and over many times a day..
Record 1 : Could not copy log backup file '\SQLSERVERLogShipFOOFOO_20201126153001.trn'. The copy operation will be re-attempted on the next run of the Copy job. Record 2 : The process cannot access the file '\SQLServerLogShipFOOFOO_20201126153001.trn' because it is being used by another process.
Is this error simply caused because the tran file is still open at the time of the attempted log copy operation? Is this expected behavior for log shipping secondary copy operation?