Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Engine: close snapshots before recovery counter #9760
When we clean up after recoveries, we currently close the recovery counter first, followed up by the different snapshots. Since the recovery counter may issue a flush (introduced in #9439) , the snapshot references prevent the flush from deleting the current translog file once it's no longer needed.
Note: this is not a problem on master, as we moved the translog delete logic, making it kick in if needed
relates to #9226 (comment)