Commit Graph

5766 Commits

Author SHA1 Message Date
Evan Tschannen e4193b125b Merge branch 'master' of github.com:apple/foundationdb 2019-07-08 09:04:02 -07:00
Evan Tschannen ec11ef024b
Merge pull request #1798 from ajbeamon/merge-release-6.1-into-master
Merge release 6.1 into master
2019-07-08 09:02:56 -07:00
A.J. Beamon dd85edb08c
Merge pull request #1802 from xumengpanda/mengxu/DD-ensure-redundant-team-priority-as700-PR
TeamTracker:Set redundant team priority as PRIORITY_TEAM_REDUNDANT
2019-07-08 08:47:28 -07:00
Evan Tschannen b146da0dd1 Merge branch 'release-6.1'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbserver/DataDistribution.actor.cpp
#	versions.target
2019-07-07 20:54:59 -07:00
Evan Tschannen b7e762bd25 pull from master 2019-07-07 20:50:57 -07:00
Evan Tschannen 6ca3ca7944
Merge pull request #1806 from etschannen/post-release-cleanup-6.1.11
Post release cleanup 6.1.11
2019-07-07 20:49:14 -07:00
Evan Tschannen f80279d8c4 update installer WIX GUID following release 2019-07-07 20:48:22 -07:00
Evan Tschannen f840d40e05 update versions target to 6.1.12 2019-07-07 20:48:22 -07:00
Vishesh Yadav 8d3a826c63
Merge pull request #1804 from alexmiller-apple/cycle-verify-only
Add a checkOnly parameter to Cycle workload.
2019-07-05 21:59:52 -07:00
Jingyu Zhou 50e7593c5b
Merge pull request #1796 from ajbeamon/remove-trace-event-underscores
Remove trace event underscores
2019-07-05 21:45:55 -07:00
Alex Miller 14e5dd74fe Add a checkOnly parameter to Cycle workload.
So that it can be used in the real world for consistency checking of
backup and DR.
2019-07-05 19:09:09 -07:00
Evan Tschannen 310a5fe9a3 fix: we cannot reject 100% of requests, because a storage server which is stuck needs to get a future version error to trigger an all alternatives failed message from load balance so that clients will re-grab storage server interfaces from the proxy 2019-07-05 17:28:22 -07:00
Meng Xu e8fb7564f5 Merge branch 'master' into mengxu/DD-ensure-redundant-team-priority-as700-PR 2019-07-05 17:28:12 -07:00
Evan Tschannen e7c0ecf729 fix: we cannot reject 100% of requests, because a storage server which is stuck needs to get a future version error to trigger an all alternatives failed message from load balance so that clients will re-grab storage server interfaces from the proxy 2019-07-05 15:46:16 -07:00
Meng Xu 46d28a3b79 TeamTracker:Set redundant team priority as redundant
The redundant team removed by teamRemover will not exist
in the global teams data structure. So we will not find
the redundant team from shard-to-team mapping in the system key.

Before this change, teamTracker marks such team as PRIORITY_TEAM_UNHEALTHY.
With this change, it marks it as PRIORITY_TEAM_REDUNDANT
2019-07-05 15:24:00 -07:00
Andrew Noyes 6d74af93d3 Use true instead of 1 2019-07-05 14:07:02 -07:00
Andrew Noyes 15c6f2b864 Explain SFINAE for has_serialization_done 2019-07-05 14:07:02 -07:00
Andrew Noyes 9ed8eb2cdb Explain strange use of literal byte strings 2019-07-05 14:07:02 -07:00
Andrew Noyes 7350b3db30 Don't assume serializeReplicationPolicy succeeds 2019-07-05 14:07:02 -07:00
Andrew Noyes 889e153b81 Add object serializer flag to fdbcli 2019-07-05 14:07:02 -07:00
Andrew Noyes e2ed56fa56 Convert ownedPtr to unownedPtr for IReplicationPolicy
Remove WriteRawMemory feature

Remove deserialization_done
2019-07-05 14:07:02 -07:00
Andrew Noyes 9894d928a1 Re-use identical vtables 2019-07-05 14:07:02 -07:00
Andrew Noyes 4c5ebd7609 Avoid assert when collecting vtables 2019-07-05 14:07:02 -07:00
A.J. Beamon d06b961a4a
Merge pull request #1747 from alexmiller-apple/flowlock-api
A giant translation of TaskFooPriority -> TaskPriority::Foo
2019-07-05 14:06:14 -07:00
A.J. Beamon 2a56e011ea Merge branch 'release-6.1' into merge-release-6.1-into-master
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbserver/DataDistribution.actor.cpp
2019-07-05 13:52:29 -07:00
A.J. Beamon 9f4b6fd770 Remove additional underscores 2019-07-05 08:12:25 -07:00
A.J. Beamon a3ac9c7eea Remove underscores from some trace event names 2019-07-05 08:08:29 -07:00
Alex Miller 888f4f92e0 Fix errors and TaskPriority more priorities. 2019-07-03 21:03:58 -07:00
Alex Miller ea6898144d Merge remote-tracking branch 'upstream/master' into flowlock-api 2019-07-03 20:44:15 -07:00
Jingyu Zhou 5ea2e69016 Remove a fdbprc header from flow library
Flow should be an independent library.
2019-07-03 19:56:38 -07:00
Evan Tschannen 23ecc17075
Merge pull request #1755 from senthil-ram/recoveryFix
sev40 if knownCommittedVersion > recoveryVersion
2019-07-03 16:39:16 -07:00
Evan Tschannen e153571a50
Merge pull request #1775 from alexmiller-apple/crc32c-memory-storage
Memory storage engine to use crc32c DiskQueue by default (in 6.2).
2019-07-03 16:37:42 -07:00
Evan Tschannen d520129362
Merge pull request #1788 from ajbeamon/add-coordinator-role-to-trace-logs
Add coordinator role in trace events
2019-07-03 16:37:05 -07:00
Evan Tschannen b2b28ea904
Merge pull request #1790 from etschannen/prepare-release-6.1.11
update installer WIX GUID following release
2019-07-03 12:05:23 -07:00
Evan Tschannen cd0d9c3968 update installer WIX GUID following release 2019-07-03 11:55:24 -07:00
Evan Tschannen 3a0fddc0c0
Merge pull request #1789 from etschannen/release-6.1
updated documentation for 6.1.11
2019-07-03 11:54:16 -07:00
Evan Tschannen b63fa29766 updated documentation for 6.1.11 2019-07-03 11:53:27 -07:00
A.J. Beamon 8c10d832a1 Add coordinator role in trace events 2019-07-03 11:09:36 -07:00
Evan Tschannen 376bff944a
Merge pull request #1781 from etschannen/release-6.1
added logging for maintenance mode
2019-07-02 17:25:42 -07:00
Evan Tschannen 8afab93e29
Merge pull request #1782 from etschannen/master
revert storage server priority changes
2019-07-02 17:25:31 -07:00
Evan Tschannen 3fb0999e10 revert storage server priority changes 2019-07-02 16:54:47 -07:00
Evan Tschannen 86b0224347 Merge branch 'release-6.1' of github.com:apple/foundationdb into release-6.1 2019-07-02 16:27:31 -07:00
Evan Tschannen ef5a251d3b
Merge pull request #1779 from xumengpanda/mengxu/release-61/DD-ensure-new-machines-have-teams-PR-after-merge
StorageServerTracker:Do not always set doBuildTeams
2019-07-02 16:26:51 -07:00
Evan Tschannen 64e33bb4f9 added logging for maintenance mode 2019-07-02 16:25:29 -07:00
Stephen Atherton 71ba490cf8 Removed use of the C "struct hack" as it is not valid C++. Replaced zero-length members with functions returning a pointer for arrays or a reference for single members. 2019-07-02 16:02:58 -07:00
dyoungworth 817fce080b Fix minor bug in External Workload 2019-07-02 15:57:26 -07:00
Alec Grieser a84f481004
Merge pull request #1734 from ajbeamon/fix-onerror-retries-on-cluster-version-changed
If onError fails with cluster_version_changed, retry the error on the new transaction.
2019-07-03 00:23:36 +02:00
Meng Xu d2d6022ed4 StorageServerTracker:Do not always set doBuildTeams
When interface changes, we set doBuildTeams to true only when
the interface location changes.
2019-07-02 14:24:26 -07:00
Evan Tschannen b2e6b25496
Merge pull request #1764 from xumengpanda/mengxu/release-61/DD-ensure-new-machines-have-teams-PR
[Release 6.1 Patch] Ensure new added machines are used to build teams
2019-07-02 14:03:35 -07:00
Meng Xu de5bcaf588 minTeamNumber for server and machine cannot be uint64_t
Because the consistency check will try to conver the value to int64_t.
If no server exists, the variable will not be updated and thus get overflowed
when it is converted to int64_t
2019-07-01 21:39:18 -07:00