mononoke: add slog duration logging for commit sync

Reviewed By: farnz

Differential Revision: D17601579

fbshipit-source-id: ad9e65c65d63acc5b52db1502fe67621408e4c8c
This commit is contained in:
Kostia Balytskyi 2019-09-26 14:45:16 -07:00 committed by Facebook Github Bot
parent 198b4cf69d
commit a7f3f7fb04

View File

@ -134,7 +134,7 @@ run the sync again, from fbsource first
* changeset resolved as: ChangesetId(Blake2(*)) (glob)
* Checking if * is already synced 1->0 (glob)
* Done preparing * (glob)
* synced as * (glob)
* synced as * in *ms (glob)
check that the changes are synced
$ cd $TESTTMP/meg-hg-cnt
@ -150,7 +150,7 @@ run the sync from ovrsource now
* changeset resolved as: ChangesetId(Blake2(*)) (glob)
* Checking if * is already synced 2->0 (glob)
* Done preparing * (glob)
* synced as * (glob)
* synced as * in *ms (glob)
this is after we also synced the ovrsource commit
$ cd $TESTTMP/meg-hg-cnt
@ -206,7 +206,8 @@ let us test the auto-detection of last processed changeset
* Checking if * is already synced 1->0 (glob)
* stopping tailing (glob)
* Done preparing * (glob)
* synced as * (glob)
* synced as * in *ms (glob)
let us test that auto-detection works on a caught-up repo
$ mononoke_x_repo_sync_once 1 0 megarepo_master tail fbsource_master_newest --catch-up-once