[Box Backup-commit] [boxbackup/boxbackup] 4f8144: Add simulator and client for SimpleDB
GitHub
noreply at github.com
Sat Aug 5 11:22:51 BST 2017
Branch: refs/heads/s3_support_merge
Home: https://github.com/boxbackup/boxbackup
Commit: 4f81440fbf1272c8691eb10963d28ffd460d0088
https://github.com/boxbackup/boxbackup/commit/4f81440fbf1272c8691eb10963d28ffd460d0088
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/common/Test.cpp
M lib/httpserver/HTTPException.txt
M lib/httpserver/S3Simulator.cpp
M lib/httpserver/S3Simulator.h
A lib/httpserver/SimpleDBClient.cpp
A lib/httpserver/SimpleDBClient.h
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add simulator and client for SimpleDB
This will be used to support reliable instant locking of S3 accounts.
Commit: 89eaa2d878f54973d2ec5d3f7d8f0e793f99f703
https://github.com/boxbackup/boxbackup/commit/89eaa2d878f54973d2ec5d3f7d8f0e793f99f703
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/httpserver/S3Simulator.cpp
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add support for S3-compatible ETag headers to S3Simulator
Commit: bdbe9055b8735dac00dcfcfd64049de5d0d59385
https://github.com/boxbackup/boxbackup/commit/bdbe9055b8735dac00dcfcfd64049de5d0d59385
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/httpserver/S3Client.cpp
M lib/httpserver/S3Client.h
M lib/httpserver/S3Simulator.cpp
M lib/httpserver/S3Simulator.h
M modules.txt
M test/httpserver/testhttpserver.cpp
Log Message:
-----------
Add support for If-None-Match header to S3Client and S3Simulator
This allows the client to only download a file if it doesn't match the one in
the local cache, which makes it possible to use the cache very efficiently.
Commit: 3e34d1685268b75b2606d525a4c8c0eaa759f65a
https://github.com/boxbackup/boxbackup/commit/3e34d1685268b75b2606d525a4c8c0eaa759f65a
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M test/bbackupd/testbbackupd.cpp
Log Message:
-----------
Rename setup_test_bbackupd() in test/bbackupd
The name of this utility function was confusing with the SETUP_TEST_BBACKUPD
macro which served an entirely different purpose, so I renamed it to
prepare_test_with_client_daemon().
Commit: ef9322c3b116b8470d89d2dd7d362e8beec56eb3
https://github.com/boxbackup/boxbackup/commit/ef9322c3b116b8470d89d2dd7d362e8beec56eb3
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/backupstore/BackupAccountControl.cpp
M lib/backupstore/BackupAccountControl.h
M lib/backupstore/BackupCommands.cpp
M lib/backupstore/BackupStoreContext.cpp
M lib/backupstore/BackupStoreContext.h
Log Message:
-----------
Make GetBlockSize() use BackupFileSystem
Refactor BackupAccountControl, BackupStoreContext and BackupCommands to call
BackupFileSystem to get the block size of the filesystem. It's a start.
Commit: ff54af64f1a5cf71f5bdc2d907e5d9245960ee73
https://github.com/boxbackup/boxbackup/commit/ff54af64f1a5cf71f5bdc2d907e5d9245960ee73
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/backupstore/StoreTestUtils.h
M lib/server/makeprotocol.pl.in
Log Message:
-----------
Protocol generator: record last error message received
Store this as a string (as well as the error code) so that we can report it to
the user, for example in test failure messages.
Commit: 42d5d94d9f05265bca1df86a827d04d869717456
https://github.com/boxbackup/boxbackup/commit/42d5d94d9f05265bca1df86a827d04d869717456
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/common/Logging.h
M lib/server/Socket.cpp
Log Message:
-----------
Improve error message on hostname lookup failure
Throw exceptions with a message, including the OS error, which means retrieving
it properly from the winsock library on Windows.
Commit: 1ec26b5252fcaf491e202fc427427b60fe873998
https://github.com/boxbackup/boxbackup/commit/1ec26b5252fcaf491e202fc427427b60fe873998
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M infrastructure/m4/boxbackup_tests.m4
Log Message:
-----------
Make narrowing conversions an error
E.g. on ARM64 with unsigned chars, this is a real error, and causes the build
to fail:
https://buildd.debian.org/status/fetch.php?pkg=boxbackup&arch=arm64&ver=0.11.1~r2837-4&stamp=1485057548&raw=0
(cherry picked from commit 3433291fc5bfbbdc87385796c26c44699edf5c0c)
Commit: d2775d5b8e0dbcc4debb7c1434014cf77fcaf188
https://github.com/boxbackup/boxbackup/commit/d2775d5b8e0dbcc4debb7c1434014cf77fcaf188
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M infrastructure/m4/boxbackup_tests.m4
M lib/intercept/intercept.h
Log Message:
-----------
Fix incorrect detection of the need to intercept lxstat
This was broken on MIPS64, causing test/raidfile to fail with errors like:
TEST FAILURE: Condition [TestGetFileSize(stripe1fn) == fs1] failed at testraidfile.cpp:415
https://buildd.debian.org/status/fetch.php?pkg=boxbackup&arch=mips64el&ver=0.11.1~r2837-4&stamp=1485060478&raw=0
(cherry picked from commit a042c9951fabc1fb4f57e6d13d739192dda76025)
Commit: 15c728d442baf401e3c83365e1f9757cccdd65c4
https://github.com/boxbackup/boxbackup/commit/15c728d442baf401e3c83365e1f9757cccdd65c4
Author: Chris Wilson <chris+github at qwirx.com>
Date: 2017-08-05 (Sat, 05 Aug 2017)
Changed paths:
M lib/common/BoxTime.cpp
Log Message:
-----------
Increase precision of timing on Windows.
Should hopefully reduce random failures of timing-dependent tests which
rely on subsecond precision for accuracy.
(cherry picked from commit c845b2e39fffeb560983a301d810616a6495469d)
(cherry picked from commit ce7e000d43a91dcd0d39ee3a505521e700875556)
Compare: https://github.com/boxbackup/boxbackup/compare/61e8a72b5602...15c728d442ba
More information about the Boxbackup-commit
mailing list