Skip to content
Snippets Groups Projects
  1. Mar 05, 2024
  2. Feb 29, 2024
  3. Feb 27, 2024
  4. Feb 26, 2024
  5. Feb 19, 2024
    • Jérémy Bobbio (Lunar)'s avatar
      Test removal/restore from objstorage with swh-alter · 53ff0f84
      Jérémy Bobbio (Lunar) authored
      We now test that `swh alter remove` actually removes content from the
      primary objstorage and from extra objstorages. We also test that `swh
      alter recovery-bundle restore` actually restores content to the
      objstorage.
      
      To do this, we need to compute hashes (only SHA1 for now) of the content
      bytes. We extract these bytes from the recovery bundle for
      convenience, but this is a fairly slow operation. Therefore we only take
      a random subset (currently 5) of the removed Content objects in order
      to reduce the tests runtime.
      
      In order to test extra objstorages, we need to also spin a content
      replayer. We adapt what was made for the mirror to do so.
      
      Depends swh-alter!15
      53ff0f84
    • Jérémy Bobbio (Lunar)'s avatar
      alter: Switch to the new configuration format · 9240b88a
      Jérémy Bobbio (Lunar) authored
      This was introduced in swh-alter v0.0.6 (see swh/devel/swh-alter!17)
      9240b88a
    • Jérémy Bobbio (Lunar)'s avatar
      alter: Also wait for replayer after restore · 6c2b53a9
      Jérémy Bobbio (Lunar) authored
      We waited for the replayer after the initial loading of the origins. We
      now also wait for the replayer after restoring the recovery bundle.
      
      The required function has been factored out.
      6c2b53a9
  6. Feb 16, 2024
  7. Jan 26, 2024
  8. Jan 22, 2024
Loading