Page MenuHomeSoftware Heritage

staging: Deploy swh.loader.metadata and friends
Closed, MigratedEdits Locked

Description

Deployments:

  • loader-core v3.2.0 (for CLI + fork support)
  • loader-git v1.6.0 (fork support)
  • loader-metadata v0.0.2 (fork support)

Plan:

  • Upgrade those packages on staging workers
  • Restart swh-worker@loader_git (ongoing)
  • Restart swh-worker@loader_high_priority
  • Check it's behaving appropriately

Event Timeline

ardumont triaged this task as Normal priority.Apr 27 2022, 4:56 PM
ardumont created this task.
ardumont moved this task from Backlog to Weekly backlog on the System administration board.
ardumont changed the task status from Open to Work in Progress.Apr 28 2022, 10:40 AM
ardumont updated the task description. (Show Details)
ardumont moved this task from Weekly backlog to in-progress on the System administration board.

After some tampering with the actual queue in scheduler0.staging (cleaning that up, it's staging so fine).
And limiting the number to less than 10k (100 is enough, way less workers).
We now have some github origins properly scheduled with their lister_name=github and lister_instance_name=github.
This now results in extrinsic metadata being fetched for those origins [1] (without me having to trigger the swh loader run cli).

So it works!

[1]

12:20:22 swh@db1:5432=> select now(), count(*) from raw_extrinsic_metadata where target > 'swh:1:ori:' and format='application/vnd.github.v3+json' ;
+-------------------------------+-------+
|              now              | count |
+-------------------------------+-------+
| 2022-04-28 10:20:45.241842+00 |    20 |
+-------------------------------+-------+
(1 row)

Time: 90.914 ms
12:20:45 swh@db1:5432=> select now(), count(*) from raw_extrinsic_metadata where target > 'swh:1:ori:' and format='application/vnd.github.v3+json' ;
+-------------------------------+-------+
|              now              | count |
+-------------------------------+-------+
| 2022-04-28 10:28:09.050765+00 |    61 |
+-------------------------------+-------+
(1 row)

Time: 112.825 ms
ardumont claimed this task.
ardumont moved this task from deployed/landed/monitoring to done on the System administration board.