perkeep/server
mpl 0d96057201 pk/blobserver/blobpacked: check large storage integrity
Check that all blobpacked zips are in the blobpacked meta, and
vice-versa (that all entries in meta do exist as a zip in large
storage).

As the current recovery code would not fix the case of stale entries
(large blobRefs in the blobpacked index of large blobs that don't exist
anymore), this change also adds a new recovery mode, which wipes the
existing blobpacked index, before rebuilding it.

In doing so, the recovery var in blobpacked pkg, as well as the
flagRecovery in camlistored.go have been changed to ints instead of bools,
to take into account that we now have several modes of operation for
recovery.

Fixes #946

Change-Id: I1fe76b805af34933e362d70c9f27bfd5403e3f3a
2018-02-17 02:53:24 +01:00
..
camlistored pk/blobserver/blobpacked: check large storage integrity 2018-02-17 02:53:24 +01:00
camnetdns all: more Camlistore to Perkeep renamings 2018-01-30 13:31:59 -08:00
sigserver all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
tester
.gitignore