615 Commits

Author SHA1 Message Date
Young Liu
79ce16650d merge master branch 2020-08-11 19:22:10 -07:00
Young Liu
ba803a5ea3 Fixed formatting issues and removed GRV related code in MasterProxy 2020-08-11 18:54:54 -07:00
Young Liu
104bac3cbd Add trace to debug 2020-08-07 13:02:41 -07:00
Young Liu
56cc15ee71 Add trace to debug 2020-08-07 01:02:07 -07:00
Young Liu
d6a23a4d6b Resolve comments to make GRV proxy a separate process class 2020-08-06 00:01:57 -07:00
Young Liu
30ea639666 Remove debug traces 2020-07-29 07:55:05 -07:00
Young Liu
f7b76a92af pass joshua 2020-07-29 07:26:55 -07:00
Meng Xu
a2089b354a RemoveServersSafely:Safety check toKill1 to avoid cluster getting stuck
toKill1 and toKill2 are a random subset of all processes. If simply kill all processes in toKill1 or toKill2,
we may kill too many processes to make the cluster unavailable and stuck.

Similar as what toKill2 were modified if it can cause cluster unavailable,
we should do the same thing for toKill1
2020-07-28 21:07:31 -07:00
Young Liu
1826ac75d5 Add some trace events to debug 2020-07-25 18:16:08 -07:00
Young Liu
0fc681cc3c Remote some code comments 2020-07-23 22:29:51 -07:00
Young Liu
618414a416 Fix bugs related to getting proxies workers 2020-07-23 18:32:47 -07:00
Young Liu
229ab0d5f1 Fix some conflicts and remote debugging trace events 2020-07-22 23:35:46 -07:00
Young Liu
525f10e30c Merge master branch 2020-07-22 16:08:49 -07:00
Young Liu
302cf5c45f Remove debug trace events 2020-07-22 12:20:22 -07:00
Young Liu
2703cedac5 Fixed known bugs 2020-07-17 22:24:52 -07:00
Young Liu
21c1998cca Fix MaxTLogQueueSize Bug 2020-07-16 15:56:04 -07:00
Young Liu
5b06d69d25 Pass watches test 2020-07-15 00:37:41 -07:00
Andrew Noyes
f470ba8316 Remove using namespace std::rel_ops
This causes the following to not compile anymore

\#include <utility>
\#include <vector>

using namespace std::rel_ops;

int main() {
    std::vector<int> xs;
    return xs.rbegin() != xs.rend();
}

See https://godbolt.org/z/s1977n
2020-07-10 22:58:15 +00:00
Meng Xu
9668f32df5
Merge pull request #3388 from apple/release-6.3
Merge Release 6.3 into master
2020-06-18 08:50:25 -07:00
Vishesh Yadav
3068a37e1b refactor: Remove dead failureDetectionServer code 2020-06-17 15:40:21 -07:00
sfc-gh-tclinkenbeard
99bf993815 Replace BOOST_NOEXCEPT with noexcept 2020-06-09 22:39:19 -07:00
negoyal
cf13e00a8f Merge remote-tracking branch 'origin/release-6.3' into fdb_cache_wo_allocator 2020-06-01 17:38:31 -07:00
Markus Pilman
c2bc75516f Merge branch 'release-6.3' of github.com:apple/foundationdb into features/trace-roles 2020-05-14 10:34:53 -07:00
Evan Tschannen
f17f00fdd5 Merge branch 'release-6.2'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
2020-05-10 22:33:38 -07:00
Evan Tschannen
3eaa9d6397 fix: do not report datacenter version difference before both datacenters report a correct version 2020-05-10 17:49:09 -07:00
Markus Pilman
5f9b127e56 Emit traces regularly about role assignment
We are currently emitting Role transition traces when a role starts and
when it ends. While this is useful for debugging, it doesn't work well
with tools that inject data and might potentially miss some trace lines.

We do decorate each trace lines with the roles assigned to that
particular process, however, this is not sufficient for tools that can
make use of the UID -> Role mapping
2020-05-08 16:27:57 -07:00
negoyal
dd033736ed Merge branch 'master' into fdb_cache_subfeature2 2020-05-04 17:29:43 -07:00
Evan Tschannen
9e5037291d fix compiler errors 2020-05-01 14:30:50 -07:00
Evan Tschannen
a442565e13 more work towards shrinking locality 2020-04-18 21:29:38 -07:00
Evan Tschannen
b04478704e fixed improper use of std::set erase 2020-04-17 16:45:22 -07:00
Evan Tschannen
33efb9ec97 code cleanup based on review comments 2020-04-17 15:05:01 -07:00
Evan Tschannen
b667d5442f fix: not all removed endpoints were actually removed 2020-04-17 13:47:54 -07:00
Evan Tschannen
9b5130194d avoid updating the same endpoint multiple times 2020-04-11 21:05:30 -07:00
Evan Tschannen
1476057996 properly cache serialization of serverDBInfo 2020-04-11 19:30:05 -07:00
Evan Tschannen
07cc0a8d74 code cleanup 2020-04-10 17:02:11 -07:00
Evan Tschannen
ce4493f679 many bug fixes 2020-04-10 13:45:16 -07:00
Evan Tschannen
a51c92854a Merge branch 'master' into feature-tree-broadcast
# Conflicts:
#	fdbserver/WorkerInterface.actor.h
#	fdbserver/worker.actor.cpp
2020-04-06 21:09:44 -07:00
Evan Tschannen
2a1bd97120 fix compilation errors 2020-04-06 20:58:43 -07:00
Evan Tschannen
477d66b46d implemented a tree broadcast for txn state message for proxies, and serverDBInfo for workers 2020-04-05 23:09:36 -07:00
negoyal
acaf91ac47 Merge branch 'master' into fdb_cache_subfeature2 2020-03-26 13:33:08 -07:00
Jingyu Zhou
5b36dcaad5 Fix oldest backup epoch for backup workers
The oldest backup epoch is piggybacked in LogSystemConfig from master to
cluster controller and then to all workers. Previously, this epoch is set
to the current master epoch, which is wrong.
2020-03-20 20:15:09 -07:00
Evan Tschannen
e08f0201f1 merge release 6.2 into master 2020-03-17 12:51:47 -07:00
Evan Tschannen
2038a56ff4
Merge pull request #2819 from etschannen/feature-first-proxy
A "proxy" class process would not be preferred as the "first proxy" for restore and DR purposes
2020-03-16 13:53:28 -07:00
Evan Tschannen
012344e297 refactor getWorkersForRoleInDatacenter 2020-03-16 11:50:17 -07:00
Evan Tschannen
79d5511149 A "proxy" class process would not be preferred as the "first proxy" for restore and DR purposes 2020-03-13 17:49:02 -07:00
Evan Tschannen
4640edf5d6 do not recruit satellite tlogs when usable regions=1 2020-03-13 10:24:52 -07:00
Evan Tschannen
303df197cf Merge branch 'release-6.2'
# Conflicts:
#	CMakeLists.txt
#	bindings/c/test/mako/mako.c
#	documentation/sphinx/source/release-notes.rst
#	fdbbackup/backup.actor.cpp
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/NativeAPI.actor.h
#	fdbserver/DataDistributionQueue.actor.cpp
#	fdbserver/Knobs.cpp
#	fdbserver/Knobs.h
#	fdbserver/LogRouter.actor.cpp
#	fdbserver/SkipList.cpp
#	fdbserver/fdbserver.actor.cpp
#	flow/CMakeLists.txt
#	flow/Knobs.cpp
#	flow/Knobs.h
#	flow/flow.vcxproj
#	flow/flow.vcxproj.filters
#	versions.target
2020-03-06 18:22:46 -08:00
Evan Tschannen
f3ac2c9180 renamed a variable 2020-03-04 18:49:21 -08:00
Evan Tschannen
b3ea9d5896 Do not allow the cluster controller to mark any process as failed within 30 seconds of startup 2020-03-04 18:45:26 -08:00
negoyal
cd949eca71 Merge branch 'master' into fdb_cache_subfeature2 2020-02-26 11:22:08 -08:00