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

GitHub noreply at github.com
Sat Dec 8 21:15:12 GMT 2018


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: e534ab1d982474fae50b3dbf250ea7b1d2ead12f
      https://github.com/boxbackup/boxbackup/commit/e534ab1d982474fae50b3dbf250ea7b1d2ead12f
  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: 904a19cf6b8b360bf5871340601d0391c4abf47d
      https://github.com/boxbackup/boxbackup/commit/904a19cf6b8b360bf5871340601d0391c4abf47d
  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/ff8716ae5682...904a19cf6b8b
      **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