sapling/eden/mononoke/unbundle_replay
Egor Tkachenko 661d31bd21 mononoke: check that repo is locked during unbundle process
Summary:
Currently the repo lock is checked only once at the beginnig of unbundle future. That unbundle process take some time and during that time repo can be locked by someone.
We can reduce that possibility by creating additional future, which will check the repo in the loop and poll both futures for whoever will finish first.

Reviewed By: StanislavGlebik

Differential Revision: D22560907

fbshipit-source-id: 1cba492fa101dba988e07361e4048c6e9b778197
2020-07-21 09:41:38 -07:00
..
schemas mononoke/unbundle_replay: also report recorded duration 2020-03-30 06:25:07 -07:00
src mononoke: check that repo is locked during unbundle process 2020-07-21 09:41:38 -07:00
Cargo.toml bookmarks: extract BundleReplayData from BookmarkUpdateReason 2020-07-10 04:50:24 -07:00