[Box Backup-commit] [boxbackup/boxbackup] bf6dd9: BackupAccountControl: hide expected exception warn...

GitHub noreply at github.com
Thu Dec 27 22:36:06 GMT 2018


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

  Changed paths:
    M lib/backupstore/BackupAccountControl.cpp

  Log Message:
  -----------
  BackupAccountControl: hide expected exception warnings during account creation


  Commit: ddd466c582edebe918255093a270ac699d52ba59
      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
      https://github.com/boxbackup/boxbackup/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
again.


  Commit: 4c55b10e8a75471013ec03988b62070e4e4c1f6f
      https://github.com/boxbackup/boxbackup/commit/4c55b10e8a75471013ec03988b62070e4e4c1f6f
  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/BackupConstants.h
    M lib/bbackupd/BackupClientContext.cpp
    M lib/bbackupd/BackupClientContext.h
    M lib/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  Refactor ClientStoreMarker::NotKnown out of BackupClientContext.h


  Commit: c43947775bda614dd45d20403496de3f9307f365
      https://github.com/boxbackup/boxbackup/commit/c43947775bda614dd45d20403496de3f9307f365
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-09 (Sun, 09 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: 649b339638f3d27223415f9917b8b47872021bbe
      https://github.com/boxbackup/boxbackup/commit/649b339638f3d27223415f9917b8b47872021bbe
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 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.


  Commit: ad6c7912280f036b32323b66e541e37b64c26e9f
      https://github.com/boxbackup/boxbackup/commit/ad6c7912280f036b32323b66e541e37b64c26e9f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M lib/bbackupd/BackupDaemon.cpp
    M lib/bbackupd/BackupDaemon.h

  Log Message:
  -----------
  BackupDaemon: simplify DeserializeStoreObjectInfo

Reuse the existing ResetCachedState method, to reduce code duplication.


  Commit: 48b78f6e923061b83ac5fc499ea4aff4514c248b
      https://github.com/boxbackup/boxbackup/commit/48b78f6e923061b83ac5fc499ea4aff4514c248b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M lib/bbackupd/BackupClientContext.cpp

  Log Message:
  -----------
  BackupClientContext: tidy up headers


  Commit: 6af03bd6a17b40a8c4fcfd16264734ec43541b88
      https://github.com/boxbackup/boxbackup/commit/6af03bd6a17b40a8c4fcfd16264734ec43541b88
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M lib/bbackupd/BackupDaemon.cpp

  Log Message:
  -----------
  BackupDaemon: reduce logging noise when control socket client disconnects


  Commit: 91aa7886b4aed18e133dcbd25af2d9952c04c6f3
      https://github.com/boxbackup/boxbackup/commit/91aa7886b4aed18e133dcbd25af2d9952c04c6f3
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M test/backupstorefix/testbackupstorefix.cpp
    M test/backupstorefix/testfiles/bbackupd.bbstored.conf

  Log Message:
  -----------
  test/backupstorefix: enable log output from bbackupd during test

Add extra logging to help debug random test failures on Travis due to inability
to connect to the daemon at StopClient() time. Because of this extra verbosity,
disable LogAllFileAccess to avoid bloating the logs even more.


  Commit: 4c52e6d25e21842268009a7809be520c57b2c4ac
      https://github.com/boxbackup/boxbackup/commit/4c52e6d25e21842268009a7809be520c57b2c4ac
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  Travis: remove deprecated sudo: false option

"Container-based infrastructure is currently being deprecated. Please remove
any sudo: false keys in your .travis.yml file to use the default
fully-virtualized Linux infrastructure instead."

https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure


  Commit: f03133f1c9cbbd77bdff05fc2b36919483e08c62
      https://github.com/boxbackup/boxbackup/commit/f03133f1c9cbbd77bdff05fc2b36919483e08c62
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M infrastructure/cmake/CMakeLists.txt

  Log Message:
  -----------
  CMake buildsystem: fix AC_SEARCH_LIBS emulation

When we detect a function in a library, we should continue to link against
that library for all future feature tests.


  Commit: 73e82d3cecc2a3dfc201aed395693e24af28f317
      https://github.com/boxbackup/boxbackup/commit/73e82d3cecc2a3dfc201aed395693e24af28f317
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-10 (Mon, 10 Dec 2018)

  Changed paths:
    M lib/common/Logging.cpp

  Log Message:
  -----------
  LogLevelOverrideByFileGuard: update lowest common log level when installed

Allows the global log level to be increased, so that it doesn't filter out the
messages that you requested to be logged at a higher level.


  Commit: 1762f2a9bc4de86d1dc20125cf6ead623ce1e749
      https://github.com/boxbackup/boxbackup/commit/1762f2a9bc4de86d1dc20125cf6ead623ce1e749
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-12 (Wed, 12 Dec 2018)

  Changed paths:
    M lib/bbackupd/BackupClientDirectoryRecord.cpp
    M lib/bbackupd/BackupClientDirectoryRecord.h
    M test/bbackupd/testbbackupd.cpp
    A test/bbackupd/testfiles/bbackupd.logall.s3.conf

  Log Message:
  -----------
  BackupClientDirectoryRecord: improve logging of file move decisions

Also improve logging of directory listing download decisions.

test/bbackupd: increase verbosity in test_backup_hardlinked_files to help debug
test failures on Travis which I have not been able to reproduce locally.


  Commit: ee9cb6e676ce1fa36ee3e4f62604f8151cff9397
      https://github.com/boxbackup/boxbackup/commit/ee9cb6e676ce1fa36ee3e4f62604f8151cff9397
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-27 (Thu, 27 Dec 2018)

  Changed paths:
    M bin/bbackupquery/bbackupquery.cpp
    M lib/backupclient/ConfiguredBackupClient.cpp
    M lib/backupclient/ConfiguredBackupClient.h
    M lib/bbackupd/BackupClientContext.cpp
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Refactor GetConfiguredBackupClient to not Login automatically

This makes Login() a separate, publicly visible operation, which can also check
the client store marker against an expected value, and raise an exception if it
differs, making this code easily reusable.


  Commit: 2b26eb1633d0c0a7e7b8c516da659a823a8521e2
      https://github.com/boxbackup/boxbackup/commit/2b26eb1633d0c0a7e7b8c516da659a823a8521e2
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-12-27 (Thu, 27 Dec 2018)

  Changed paths:
    M lib/bbackupd/BackupClientDirectoryRecord.cpp
    M lib/bbackupd/BackupClientDirectoryRecord.h
    M lib/bbackupd/BackupDaemon.cpp
    M lib/bbackupd/BackupDaemon.h
    M test/bbackupd/testbbackupd.cpp

  Log Message:
  -----------
  Fix failing test_backup_hardlinked_files

Remove assertion that inode numbers were not reused, which was incompatible
with hard links and violated under certain circumstances. Add a test that
reproduces those circumstances.


Compare: https://github.com/boxbackup/boxbackup/compare/a89e4e4ca2dc...2b26eb1633d0
      **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