[Box Backup-commit] [boxbackup/boxbackup] cfb40f: BackupStoreRefCountDatabase: new file format

GitHub noreply at github.com
Sat Dec 8 21:38:48 GMT 2018

  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: cfb40f7b2abf3f7358c57a7a6e874ca993e037ae
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-08 (Sat, 08 Dec 2018)

  Changed paths:
    M lib/backupstore/BackupFileSystem.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.cpp
    M lib/backupstore/BackupStoreRefCountDatabase.h
    M test/backupstore/testbackupstore.cpp

  Log Message:
  BackupStoreRefCountDatabase: new file format

This format includes an embedded client store marker, which is useful on S3
stores to verify that we haven't downloaded an old version of the refcount DB,
particularly if it was repaired by checking the account, and subsequently not
propagated due to Amazon S3's eventual (not immediate) consistency.

  Commit: 542acca8cc958ff6c822802d28321317521bddd2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-08 (Sat, 08 Dec 2018)

  Changed paths:
    M lib/server/ServerControl.cpp
    M lib/server/ServerControl.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  ServerControl: add signal checks and wait() wrapper

KillServer: add a parameter to allow the expected exit signal to be checked.
This allows us to determine if a process died for the wrong reason, e.g. if it
failed to catch SIGTERM, or was killed by SIGSEGV instead.

WaitForProcessExit: split out, to make it easier to clean up after forked
daemons, and check their exit status and signal.

test/bbackupd: use these to improve handling and failure mode checking of
forking daemon tests, reducing risk of hangs.

Compare: https://github.com/boxbackup/boxbackup/compare/904a19cf6b8b...542acca8cc95
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the Boxbackup-commit mailing list