Commit Graph

2485 Commits

Author SHA1 Message Date
Stephen Atherton 7397ea4a79 Bug fixes. Memory corruption was happening due to memory ownership problems with using PrefixTree cursors. Now that internal page boundaries are truncated to the minimal necessary length they can be incomplete tuples of (key, version, offset) which was not being handled correctly (causing incorrect mutation buffer to page mappings during commit) for some partial tuple values. Tuple was modified to allow optional safe decoding of partial integer values and to assert if partial integer values are found but not allowed. Lots of debug output changes. 2018-07-18 03:19:35 -07:00
Stephen Atherton 540d88e85f Minimal page boundary keys are now being used, though there are still bugs. Many debug output changes. Bug fix regarding common prefix length calculation which was reducing compression and causing incorrect boundary keys. 2018-07-17 00:41:42 -07:00
Stephen Atherton bbf5ece5af Btree pages can now borrow prefix bytes from their upper bound key (the next key after their lower bound key in their parent page) as well as their lower bound key. 2018-07-14 13:37:52 -07:00
Stephen Atherton 96389c74cd Merge branch 'master' of github.com:apple/foundationdb into feature-redwood
# Conflicts:
#	tests/fast/SidebandWithStatus.txt
#	tests/rare/LargeApiCorrectnessStatus.txt
#	tests/slow/DDBalanceAndRemoveStatus.txt
2018-07-10 16:42:34 -07:00
Steve Atherton 36a7548436
Merge pull request #590 from alecgrieser/merge-release-6.0
Merge release 6.0 into master
2018-07-10 16:35:12 -07:00
Alec Grieser c21c3add98
Merge remote-tracking branch 'upstream/release-6.0' into merge-release-6.0 2018-07-10 16:32:13 -07:00
Steve Atherton b75c217a69
Merge pull request #589 from alecgrieser/post-6.0.1-release
Post 6.0.1 release
2018-07-10 16:31:11 -07:00
Alec Grieser 5390d08246
update WIX installer GUID after 6.0.1 release 2018-07-10 16:29:11 -07:00
Alec Grieser a27f00dcd4
bump version to 6.0.2 following 6.0.1 release 2018-07-10 16:26:43 -07:00
Evan Tschannen a731e2e236
Merge pull request #588 from alecgrieser/prepare-6.0.1-release
Prepare 6.0.1 Release
2018-07-10 13:40:02 -07:00
Alec Grieser aae527da71
update download urls and administration upgrade guide for 6.0.1 2018-07-10 13:37:29 -07:00
Alec Grieser f901373491
update versions.target to 6.0.1 2018-07-10 13:35:33 -07:00
Alec Grieser 694fc168a9
update documentation for 6.0.1 2018-07-10 13:35:07 -07:00
Alec Grieser 0c657ae11e
update WIX installer GUID for 6.0.1 release 2018-07-10 13:31:53 -07:00
Alec Grieser d5a23642a1
Merge pull request #587 from etschannen/feature-remote-logs
close unneeded connections
2018-07-10 13:27:15 -07:00
Evan Tschannen a35d5e30d9 Added a SevError trace event in case peer references becomes negative 2018-07-10 13:26:28 -07:00
Evan Tschannen c25be5699a close unneeded connections 2018-07-10 13:10:29 -07:00
Evan Tschannen 4a10d32ad5
Merge pull request #586 from alecgrieser/prepare-6.0-release
Prepare 6.0 release
2018-07-10 10:26:41 -07:00
Alec Grieser 9110bec2fd
update download links and upgrade instructions for 6.0 2018-07-10 10:26:00 -07:00
Alec Grieser 5a21dde270
update WIXS installer for 6.0 release 2018-07-10 10:17:51 -07:00
Alec Grieser fed92be47d
bump protocol version for release 2018-07-10 10:17:51 -07:00
Alec Grieser 2996557f89
updated release notes for 6.0 2018-07-10 10:17:46 -07:00
Evan Tschannen 46a315ea49
Merge pull request #584 from alecgrieser/merge-release-5.2
Merge release-5.2 into release-6.0
2018-07-10 10:10:48 -07:00
Alec Grieser be9c34c6f8
Merge remote-tracking branch 'upstream/release-5.2' into merge-release-5.2 2018-07-10 10:04:48 -07:00
Alec Grieser ad37b1693d
Merge pull request #585 from etschannen/feature-remote-logs
A variety of cleanup and test strengthening commits
2018-07-10 09:58:44 -07:00
AlvinMooreSr b3916a9b71
Merge pull request #409 from joelarmstrong/tlsconnection-clang-ub-warning
Fix compilation with clang from Apple LLVM 9.1.0
2018-07-10 09:32:24 -07:00
Alec Grieser 54e4438826
Merge pull request #582 from satherton/improve-blob-error-types
More backup error improvements
2018-07-10 08:30:25 -07:00
Stephen Atherton 1bc95862b7 Merge branch 'release-6.0' of github.com:apple/foundationdb into feature-redwood
# Conflicts:
#	tests/fast/SidebandWithStatus.txt
#	tests/rare/LargeApiCorrectnessStatus.txt
#	tests/slow/DDBalanceAndRemoveStatus.txt
2018-07-10 04:16:02 -07:00
Stephen Atherton 97f66ddbfe Fixed printf type errors which caused compiler warnings. 2018-07-10 02:24:52 -07:00
Stephen Atherton af9aa43f39 Tree-level prefix compression partly done. Btree page writing and reading now passes parent key lower bound to the PrefixTree builder / cursor so it can be used as a prefix. 2018-07-10 02:24:01 -07:00
Evan Tschannen 2820b6e0bb data inconsistency is always an error when detected by the consistency check 2018-07-09 22:26:13 -07:00
Evan Tschannen 6c6eaedf09 set allowLogSetKills to false in configurations that could not kill log sets anyways to prevent unnecessary reconfiguration 2018-07-09 22:24:43 -07:00
Evan Tschannen 6d76ff67a3 added the connection string to status 2018-07-09 22:11:58 -07:00
Evan Tschannen 56ff85e0d8 updated release notes 2018-07-09 22:03:12 -07:00
Evan Tschannen b9f2b80129 deleted spammy trace event 2018-07-09 22:02:15 -07:00
Evan Tschannen 82cc30be62 added testing for two_satellite_fast and two_satellite_safe 2018-07-09 22:01:46 -07:00
Alex Miller d0d21c329d
Merge pull request #583 from satherton/release-5.2-update-release-notes
Updated release notes for 5.2.6.
2018-07-09 21:46:25 -07:00
Stephen Atherton 2b571f20bd Updated release notes for 5.2.6. 2018-07-09 20:26:45 -07:00
Stephen Atherton fddb3e87e2 Differentiate between a timeout in attempting to connect vs a timeout on an active connection by converting timeouts during connection attempts to connection_failed errors. 2018-07-09 19:40:01 -07:00
Alex Miller 1c4c7f3d49 Bump msi GUID 2018-07-09 19:33:19 -07:00
Alex Miller c40f023ea2 Change download links from 5.2.5 -> 5.2.6 2018-07-09 19:31:23 -07:00
Alex Miller 9f14db1d20 Add release notes for 5.2.6 2018-07-09 19:28:47 -07:00
Alex Miller 6435e3226e
Merge pull request #581 from satherton/improve-blob-error-types
Improve backup error types
2018-07-09 19:22:08 -07:00
Stephen Atherton 3ce7c78d36 If an HTTP request fails due to a connection failure or a timeout, do not convert the error to the more generic http_request_failed. 2018-07-09 18:58:33 -07:00
Evan Tschannen ed7c744a8e fix: we cannot lower max_read_transaction_life_versions too low when configured with remote logs, because it causes the log routers to fall too far behind 2018-07-09 16:55:33 -07:00
Evan Tschannen ad08fbad5b
Merge pull request #580 from alexmiller-apple/consistencycheck-5.2
Backport consistencycheck fixes from release-6.0
2018-07-09 16:42:33 -07:00
Alex Miller f3f81e3616 Remove usable regions on 5.2 as it is 6.0-only 2018-07-09 15:46:31 -07:00
Evan Tschannen ad1816b7b4 fix: consistency check could loop too long 2018-07-09 15:46:27 -07:00
Evan Tschannen eb9114fd52 fixed a few problems with the consistency check 2018-07-09 15:46:22 -07:00
Evan Tschannen 0e1c32e1d2 fix: consistency check was broken when the key server key space is sharded 2018-07-09 15:46:17 -07:00