HomeSoftware Heritage

Make swh.storage.archiver able to run in a separated db

Description

Make swh.storage.archiver able to run in a separated db

In effect, this separates concerns between storing/reading contents and
archiving contents.

This updates:

  • main schema to drop existing archiver table (070.sql)
  • integration/unit tests
  • Separate sql files to deal with install/upgrades in sql/archiver/ folder
  • Add makefile to deal with local dump and restore actions

Remains to deal with updating when receiving new contents (as in the
original archiver's code)

Details

Provenance
ardumontAuthored on Jul 18 2016, 8:19 PM
ardumontPushed on Jul 18 2016, 8:29 PM
Parents
rDSTO50ae16fba087: Revert unused swh_visit_get sql function
Branches
Unknown
Tags
Unknown
Build Status
Buildable 282
Build 416: Software Heritage Python tests