[Box Backup-commit] [boxbackup/boxbackup] ddd466: BackupAccountControl: add CloseAccount, and use it...

GitHub noreply at github.com
Sat Dec 8 12:43:10 GMT 2018

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

  Changed paths:
    M lib/backupstore/BackupAccountControl.cpp
    M lib/backupstore/BackupAccountControl.h
    M lib/backupstore/BackupFileSystem.cpp
    M lib/backupstore/BackupFileSystem.h

  Log Message:
  BackupAccountControl: add CloseAccount, and use it to explicitly unlock ASAP

Add an overload of DiscardBackupStoreInfo() which doesn't need a reference
passed in, for convenience.

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

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupProtocol.txt

  Log Message:
  Add a new protocol command, Finished2

This one returns the current (new) client store marker, which will be useful
when the BackupFileSystem updates it automatically, taking control away from
the BackupDaemon, which will then need to retrieve the current (new) value when
logging out, to use to ensure that its cache is still valid when logging in

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

  Changed paths:
    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: ff8716ae56822a7cdc91b4852f5b30982fe7d37a
  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/110c6a13224b...ff8716ae5682
      **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