Mirror: fix common issues of a replayer session
When running a replay session of the staging area storage, there a few common issues that occur, these should be fixed before starting a real-life mirror session.
Migrated from T3197 (view on Phabricator)