Commit Graph

884 Commits

Author SHA1 Message Date
Vishesh Yadav afe6bf19e2 Fix typos and whitespace 2020-05-11 12:53:19 -07:00
Vishesh Yadav 9dc65547ad Avoid setting failure status of local addresses in main thread 2020-05-11 11:24:19 -07:00
Evan Tschannen f0f52fb2be Merge branch 'master' into feature-small-endpoint
# Conflicts:
#	fdbclient/StorageServerInterface.h
2020-05-08 16:37:35 -07:00
Steve Atherton 62882f5552
Merge pull request #3088 from sears/lb_ub_perf_2
unrevert lb_ub_perf pull request
2020-05-07 18:23:17 -07:00
A.J. Beamon 0be453de0a
Merge pull request #3026 from atn34/atn34/tsan
Add USE_TSAN and fix some data races
2020-05-07 18:06:18 -07:00
Andrew Noyes 3964fe34b8 Use c11 atomics in libeio 2020-05-07 23:43:50 +00:00
Evan Tschannen ff992060cd
Merge pull request #3073 from tclinken/fix-open-for-ide-build
Fix non-boost-related OPEN_FOR_IDE build errors
2020-05-07 14:47:59 -07:00
Evan Tschannen 574914640a
Merge pull request #2999 from tclinken/more-move-optimizations
Generate rvalue reference overloads for actor callback functions
2020-05-07 14:32:27 -07:00
Russell Sears 5e1c43f87b replace double invocations of operator<() with three way compare(). 2020-05-07 12:08:29 -07:00
Evan Tschannen ad900135dd Simulation did not properly track exclusions of tls processes 2020-05-07 10:53:13 -07:00
Evan Tschannen 51d3aaf4ae fixed a few rare correctness bugs 2020-05-06 23:24:58 -07:00
A.J. Beamon 8125096e9b
Revert "reduce the number of calls to operator< made by lower_bound and upper…" 2020-05-05 08:17:10 -07:00
Steve Atherton 4ae356b237
Merge pull request #2882 from sears/lb_ub_perf
reduce the number of calls to operator< made by lower_bound and upper…
2020-05-04 15:46:22 -07:00
Alex Miller 78d644f673
Merge branch 'master' into bugfixes/cmake-includes 2020-05-04 02:11:46 -07:00
tclinken bc19f70455 Move delayedHealthUpdateF declaration 2020-05-01 18:14:51 -07:00
Evan Tschannen c126422296 fix: firstFree was not reset after using all available space 2020-05-01 17:46:20 -07:00
Evan Tschannen 4d131bdd4a Merge branch 'master' into feature-small-endpoint 2020-05-01 13:16:15 -07:00
Evan Tschannen aed2d34bcb Merge branch 'master' into feature-proxy-load-balance
# Conflicts:
#	fdbclient/NativeAPI.actor.cpp
#	fdbserver/MasterProxyServer.actor.cpp
#	flow/Knobs.cpp
2020-05-01 09:19:39 -07:00
Dave Cottlehuber 9753013b65 fdbrpc: update cmake & headers 2020-04-30 20:11:43 +00:00
Dave Cottlehuber 7a8cb3ffcf add headers 2020-04-30 18:11:23 +00:00
tclinken dd90eff171 Added additional assertion to /flow/flow/PromiseStream/move2 2020-04-30 07:55:13 -07:00
Evan Tschannen fd0ee72293 Merge branch 'master' into feature-small-endpoint 2020-04-29 18:43:10 -07:00
tclinken c4dda9195c Fixed Windows CMake build 2020-04-29 13:22:01 -07:00
tclinken c205bc902f Added SingleCallback<T>::fire(T&&) 2020-04-29 12:28:17 -07:00
Russell Sears dcdda88794 replace double invocations of operator<() with three way compare(). 2020-04-29 10:10:30 -07:00
Evan Tschannen 76fb345dd1 Merge branch 'master' into feature-tree-broadcast
# Conflicts:
#	fdbrpc/FailureMonitor.actor.cpp
2020-04-29 09:51:22 -07:00
Evan Tschannen 2b2e0b9f75
Merge pull request #2932 from vishesh/task/issue-1017-slow-machine-poisoning
FailureMonitoring: Mark unstable connections as failed [1/X]
2020-04-28 13:57:49 -07:00
Evan Tschannen b7f5f3be48 merge in master 2020-04-28 13:11:47 -07:00
Andrew Noyes 2e6990119b Fix some data races 2020-04-25 00:26:54 +00:00
Evan Tschannen c87aa33941 Merge branch 'release-6.2'
# Conflicts:
#	CMakeLists.txt
#	bindings/go/src/fdb/generated.go
#	documentation/sphinx/source/api-common.rst.inc
#	documentation/sphinx/source/api-ruby.rst
#	documentation/sphinx/source/release-notes.rst
#	fdbclient/FailureMonitorClient.actor.cpp
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/vexillographer/fdb.options
#	fdbrpc/FlowTransport.actor.cpp
#	fdbserver/OldTLogServer_6_0.actor.cpp
#	fdbserver/TLogServer.actor.cpp
#	fdbserver/fdbserver.actor.cpp
#	versions.target
2020-04-23 13:47:53 -07:00
Evan Tschannen 76d4570d5d
Merge pull request #3008 from etschannen/release-6.2
Added logging for parallel peeks from TLogs
2020-04-23 10:27:49 -07:00
Vishesh Yadav c30010f5b8 FlowTransport: Increase delay for connecting to failed connections 2020-04-23 09:44:30 -07:00
Evan Tschannen a835123680 exit fdbserver after a ReceiverError, because a packet which should be delivered will never be received 2020-04-22 23:38:46 -07:00
Evan Tschannen 810bba2067 cleanup calls to FlowTransport::isClient() 2020-04-22 23:36:40 -07:00
Vishesh Yadav 3a5315d10c FlowTransport: Don't immediately mark connections failed
In connectionKeeper(), when a connection is failed for
FAILURE_DETECTION_DELAY, then only mark connection as failed.

This is much closer to the original centralized behaviour, and also
adds more confidence on whether the connection is actually failed.
2020-04-22 19:46:04 -07:00
Alex Miller 8b004fe8e3 Move stop callbacks to be called after run() in sim2. 2020-04-21 20:22:16 -07:00
tclinken 2628afe463 Improved PromiseStream move unit tests 2020-04-21 15:18:59 -07:00
tclinken 885a2e020e Generate rvalue reference overloads with actor compiler 2020-04-21 15:18:59 -07:00
Vishesh Yadav 500a265d20 FlowTransport: Refactor and clear FailureStatus on destroy 2020-04-21 14:11:19 -07:00
Vishesh Yadav 92c86a7799 Merge remote-tracking branch 'apple/master' into task/issue-1017-slow-machine-poisoning 2020-04-21 03:36:19 -07:00
Alex Miller 2ce539ef6d Respect flow<->fdbrpc module boundaries.
Which fixes a compilation error due to a circular dependency between
flow.a and fdbrpc.a.  However, this is now done at the cost of newNet2
users have to remember to add Net2FileSystem::stop() as a callback.
2020-04-20 02:53:07 -07:00
Jingyu Zhou 3f3a728bb3
Merge pull request #2970 from xumengpanda/mengxu/fr-range-versions-PR
Fix:New backup and restore: Mutations before min range version may not be complete
2020-04-19 09:49:07 -07:00
Evan Tschannen a442565e13 more work towards shrinking locality 2020-04-18 21:29:38 -07:00
Alex Miller 1398e9a82e Stop background eio threads on Net2::stop().
This will stop eio threads for both the client (`fdb_stop_network()`)
and the server.  This change is being done more for the former, but I
don't see any harm in doing the latter as well.
2020-04-18 19:40:55 -07:00
Evan Tschannen 99a58f8ee5 fix compiler errors 2020-04-17 17:47:50 -07:00
Evan Tschannen 0ee62badcd Merge branch 'feature-tree-broadcast' into feature-small-endpoint 2020-04-17 17:16:04 -07:00
Evan Tschannen ba3e2af473 Merge commit '5288033bcfe40c3ade97c8bf2d04cf31b3f16cb1' into feature-tree-broadcast 2020-04-17 15:17:37 -07:00
Vishesh Yadav 992002cf34 FlowTransport: don't start connectionKeeper for local peer
getOrOpenPeer() is used for local addresses sometimes, which ends up
starting connectionKeeper() which is unnecessary.
2020-04-16 14:04:32 -07:00
Vishesh Yadav 43f19bd463 Don't skip filesystem check on when KAIO is disabled
WSL the known Linux system where KAIO is not supported, can run these checks.
2020-04-16 10:56:01 -07:00
Vishesh Yadav 8c8f23bff2 Merge remote-tracking branch 'apple/master' into task/issue-1017-slow-machine-poisoning 2020-04-16 00:45:35 -07:00