unexpected long time between a task is received and the loading start for few tasks
Sometimes, a task scheduled by the "old" generation scheduler (deposit, scn, vault) is received by a worker is taking a long time to start
Jan 17 16:26:10 worker14 python3[2180500]: [2022-01-17 16:26:10,683: INFO/MainProcess] Received task: swh.loader.git.tasks.UpdateGitRepository[eb038b42-713e-4c23-a655-17d04f23870a]
<----------------- Nothing happens here between 16:26 and 19:50
Jan 17 19:50:02 worker14 python3[2736039]: [2022-01-17 19:50:02,768: INFO/ForkPoolWorker-134] Load origin 'https://github.com/webtorrent/webtorrent-desktop' with type 'git'
Jan 17 19:50:10 worker14 python3[2736039]: Enumerating objects: 11937, done.
Jan 17 19:50:10 worker14 python3[2736039]: [3.2K blob data]
Jan 17 19:50:10 worker14 python3[2736039]: [3.5K blob data]
Jan 17 19:50:11 worker14 python3[2736039]: Total 11937 (delta 374), reused 337 (delta 235), pack-reused 11362
Jan 17 19:50:11 worker14 python3[2736039]: [2022-01-17 19:50:11,432: INFO/ForkPoolWorker-134] Listed 1069 refs for repo https://github.com/webtorrent/webtorrent-desktop
Jan 17 19:51:02 worker14 python3[2736039]: [2022-01-17 19:51:02,168: INFO/ForkPoolWorker-134] Task swh.loader.git.tasks.UpdateGitRepository[eb038b42-713e-4c23-a655-17d04f23870a] succeeded in 59.69298444222659s: {'status': 'eventful'}
It has some impacts mostly on the SCN as the task remains unexpectedly scheduled during all this time.
Migrated from T3857 (view on Phabricator)