Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-vault
11 commits behind the upstream repository.
Antoine Lambert's avatar
Antoine Lambert authored
It can exist cases when a bundle has been cooked and marked as done in
the vault database but is no longer available in the vault cache.

Previously, when requesting a new cooking of such bundle, the vault
backend was not creating a new cooking task and thus the bundle could
not be downloaded anymore.

So ensure to check bundle presence in cache for such edge case and force
its recooking if it is not the case.

Related to swh-web#4804.
8c89dcd8
History

Software Heritage - Vault

User-facing service that allows to retrieve parts of the archive as self-contained bundles (e.g., individual releases, entire repository snapshots, etc.) The creation of a bundle is called "cooking" a bundle.

Architecture

The vault is made of two main parts:

  1. a stateful RPC server called the backend
  2. Celery tasks, called cookers