[Box Backup-commit] [boxbackup/boxbackup] ca425d: Add support for patch combining in S3 stores

GitHub noreply at github.com
Fri Apr 6 21:28:03 BST 2018


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: ca425d9d83ce5a89eb32c505314a809e273f907e
      https://github.com/boxbackup/boxbackup/commit/ca425d9d83ce5a89eb32c505314a809e273f907e
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M lib/backupstore/BackupCommands.cpp
    M lib/backupstore/BackupFileSystem.cpp
    M lib/backupstore/BackupFileSystem.h
    M lib/backupstore/BackupProtocol.txt
    M lib/backupstore/BackupStoreContext.cpp
    M lib/backupstore/BackupStoreContext.h
    M lib/backupstore/BackupStoreFile.h
    M lib/backupstore/BackupStoreFileCmbDiff.cpp
    M lib/backupstore/BackupStoreFileCombine.cpp
    M lib/backupstore/HousekeepStoreAccount.cpp
    M lib/backupstore/HousekeepStoreAccount.h
    M modules.txt
    M test/backupstore/testbackupstore.cpp
    M test/backupstorepatch/testbackupstorepatch.cpp

  Log Message:
  -----------
  Add support for patch combining in S3 stores

This allows housekeeping to reduce the storage required. It's very inefficient,
but needed for compatibility with bbstored stores.

Convert test/backupstore test_server_housekeeping and test/backupstorepatch to
specialised tests, and make them test S3 stores as well. Change the
GetBlockIndexByName command to reconstruct the block index when the most recent
version of the file is a patch (as it will be on S3 stores).

Stop pretending that S3BackupFileSystem cannot merge patches, and stop
reporting that it's "hard" to do so for the time being, at least until we have
a better way to manage store space (e.g. snapshots).


  Commit: 0aca783992b7e94cc83dd60d1fad9de36f1fb236
      https://github.com/boxbackup/boxbackup/commit/0aca783992b7e94cc83dd60d1fad9de36f1fb236
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M lib/server/Socket.cpp
    M lib/server/Socket.h
    M lib/server/SocketStream.cpp

  Log Message:
  -----------
  Factor out code to return a pretty name for a host (hostname and IP address)


  Commit: 582e9c065b12348acf1e7f878581647a95e73a8c
      https://github.com/boxbackup/boxbackup/commit/582e9c065b12348acf1e7f878581647a95e73a8c
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M lib/backupstore/BackupFileSystem.cpp
    M lib/raidfile/RaidFileWrite.cpp

  Log Message:
  -----------
  Fix errors reports on Windows console due to opening invalid paths


Compare: https://github.com/boxbackup/boxbackup/compare/d798866afb99...582e9c065b12


More information about the Boxbackup-commit mailing list