1460 Commits

Author SHA1 Message Date
Young Liu
71309a79f9 Merge branch 'release-6.3' into range 2020-09-17 17:54:33 -07:00
Young Liu
3728ed03dd Resolve comments 2020-09-05 18:55:09 -07:00
Young Liu
1ad5e17458 add support for comparing original and current impls 2020-09-05 11:14:59 -07:00
Evan Tschannen
e7a1892947 fixed a compiler warning 2020-08-31 15:01:19 -07:00
Evan Tschannen
5c97461d18
Merge pull request #3653 from etschannen/feature-proxy-busy-loadbalance
Changed proxy load balancing to balance on CPU usage
2020-08-31 10:39:08 -07:00
Evan Tschannen
2f5359fa13 fix: lastRunLoopBusyness did count the currently active time 2020-08-31 09:21:44 -07:00
Evan Tschannen
29eec30183 Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	build/Dockerfile
#	build/Dockerfile.devel
#	documentation/sphinx/source/downloads.rst
#	fdbserver/Knobs.cpp
#	fdbserver/LogSystem.h
#	fdbserver/MasterProxyServer.actor.cpp
#	fdbserver/TagPartitionedLogSystem.actor.cpp
#	fdbserver/WaitFailure.actor.cpp
#	fdbserver/fdbserver.vcxproj
#	fdbserver/fdbserver.vcxproj.filters
#	packaging/msi/FDBInstaller.wxs
2020-08-31 01:10:29 -07:00
Evan Tschannen
c9ff450a36 do not reject a connection as redundant if our existing connection is more than 15 seconds old 2020-08-30 18:49:49 -07:00
Evan Tschannen
f6f9aea09e fix: runLoopBusyness was always zero 2020-08-28 09:29:54 -07:00
Evan Tschannen
947a625968
Update flow/Knobs.cpp
Co-authored-by: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-08-24 11:33:49 -07:00
Evan Tschannen
9e2ee1ed4c fixed lastedZeroBusy; added a knob 2020-08-17 23:16:59 -07:00
Evan Tschannen
c72068d6b5 clients load balance across proxies based on process busyness instead of number of requests 2020-08-12 17:17:21 -07:00
Evan Tschannen
18e53caf6e
Merge pull request #3489 from sfc-gh-tclinkenbeard/dont-throw-deque-relocate
Add exception-safety to Deque::grow
2020-08-06 10:33:49 -07:00
Evan Tschannen
440d46bccc
Merge pull request #3523 from Daniel-B-Smith/global-data-races
Fix some unprotected accesses to global data
2020-07-29 11:44:11 -07:00
Meng Xu
2b8aa296bb
Merge pull request #3482 from sfc-gh-tclinkenbeard/support-downgrades
Support and test downgrades
2020-07-28 17:00:54 -07:00
Andrew Noyes
d2cf700bd4 Fix compiler warnings 2020-07-28 18:30:26 +00:00
Daniel Smith
f4c54e5ee6 use std::atomic for simple counters 2020-07-28 17:51:21 +00:00
Evan Tschannen
ee9b3d1a9d do not let a single failed handshake prevent reconnection for 10 seconds 2020-07-27 10:58:30 -07:00
Evan Tschannen
e0db748fb3
Merge pull request #3403 from satherton/tls-background-handshake
TLS handshaking in background threads
2020-07-27 10:55:00 -07:00
Evan Tschannen
e1dedff7b3 Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	bindings/c/test/mako/mako.c
#	cmake/ConfigureCompiler.cmake
#	documentation/sphinx/source/downloads.rst
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/FileBackupAgent.actor.cpp
#	packaging/msi/FDBInstaller.wxs
#	versions.target
2020-07-24 12:10:44 -07:00
Jingyu Zhou
9a65b1fbd9
Merge pull request #3528 from Daniel-B-Smith/declval
s/fake/std::declval/
2020-07-21 14:34:37 -07:00
sfc-gh-tclinkenbeard
92ac2a99b9 Ignore file identifier mismatches during 7.0 -> 6.3 downgrade 2020-07-20 18:45:28 -07:00
Russell Sears
9416e9139e
Merge pull request #3466 from sears/numeric_asserts
Improved assert messages for numeric comparisons
2020-07-20 14:52:40 -07:00
Russell Sears
aa6743e118 improved readability of numeric assertion failures 2020-07-20 14:13:52 -07:00
Steve Atherton
38cade1146 Merged tag release-6.3.3 into tls-background-handshake. 2020-07-17 23:39:57 -07:00
Jingyu Zhou
b0983f4a9a
Merge pull request #3530 from xumengpanda/mengxu/ssfailure-fix-PR
Fix wild pointer to destructed DD that causes DD crash rarely
2020-07-17 18:08:50 -07:00
Meng Xu
df39a0eaa8
Merge pull request #3479 from sfc-gh-anoyes/anoyes/add-wall-wextra
Add -Wall and -Wextra for clang, and explicitly ignore some warnings for now
2020-07-17 15:07:41 -07:00
Meng Xu
1ba9b6b07f DD:Change SendRelocateToDDQx100 to SendRelocateToDDQueue 2020-07-17 14:10:17 -07:00
Meng Xu
42a7b91647 Turn clang-format off for error_definition.h 2020-07-17 11:11:30 -07:00
Daniel Smith
c6b691d917 Revert "Revert "Fix some unprotected accesses to global data""
This reverts commit ac724589cce271bcc206453436ac1684a9435ac7.
2020-07-17 18:02:23 +00:00
Daniel Smith
ac724589cc Revert "Fix some unprotected accesses to global data"
This reverts commit 6d63aebbbc3a5a2fd740e7162bec3dcedffaa2b6.
2020-07-17 18:02:13 +00:00
Steve Atherton
d375ee7939 Rolled back the knob and logic for doing multiple write() calls in write loops before yielding, because they are not necessary. The testing that suggested otherwise was in error. 2020-07-16 22:54:14 -07:00
Meng Xu
098cdfb558 Replace actor_cancelled error with dd_cancelled 2020-07-16 20:26:07 -07:00
Meng Xu
638e612a97 Improve coding style and trace events 2020-07-16 10:25:42 -07:00
Meng Xu
acbb389862 Debug and fix very rare crash in TeamTracker
teamTracker only works when all DDTeamCollections are valid.
However, teamTracker can be triggered by zeroTeamSignalling event
after a DDTeamCollection is destructed and the other DDTeamCollection has not been
destructed yet.

This causes teamTracker to uses a pointer to the destructed DDTeamCollection and thus
has mysterious failure.
2020-07-16 10:23:02 -07:00
Steve Atherton
c4f3553826 TLS handshake limit changed to regular flow lock, added new knob for simultaneous handshakes limit and removed old knobs. Added knob to control how much data the FlowTransport connectionWriter() can write using multiple write() calls before yielding to other tasks, and updated p2p network test to use the same logic. Changed knob defaults for send limit on single writes and TLS handshake thread count. 2020-07-16 02:31:17 -07:00
Daniel Smith
a88bbd6405 s/fake/declval/ 2020-07-15 23:33:01 +00:00
Daniel Smith
6e0633bf6f Mark as noexcept since throwing would lead to deadlocks 2020-07-15 23:24:38 +00:00
Daniel Smith
6d63aebbbc Fix some unprotected accesses to global data 2020-07-15 15:57:05 +00:00
sfc-gh-tclinkenbeard
d6a65d7ef3 Added new Deque::cleanup method for cleaning up newArr 2020-07-14 22:19:37 -07:00
Daniel Smith
481d1eb4bd
Use consistent integer size for net2backtraces_count
`net2backtraces_count` is defined to be an `int` in Net2.actor.cpp. Defining it to be an `int64_t` here causes us to read 4 bytes of extra memory.
2020-07-14 19:56:14 -04:00
Jingyu Zhou
773e533a09 Make Arena's impl private 2020-07-13 21:39:36 -07:00
sfc-gh-tclinkenbeard
d6b6626a2b Added more exception safety to Deque::grow 2020-07-13 18:29:12 -07:00
A.J. Beamon
b09dddc07e Merge branch 'release-6.2' into merge-release-6.2-into-release-6.3
# Conflicts:
#	cmake/ConfigureCompiler.cmake
#	documentation/sphinx/source/downloads.rst
#	fdbrpc/FlowTransport.actor.cpp
#	fdbrpc/fdbrpc.vcxproj
#	fdbserver/DataDistributionQueue.actor.cpp
#	fdbserver/Knobs.cpp
#	fdbserver/Knobs.h
#	fdbserver/LogSystemPeekCursor.actor.cpp
#	fdbserver/MasterProxyServer.actor.cpp
#	fdbserver/Status.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	flow/flow.vcxproj
2020-07-10 15:06:34 -07:00
sfc-gh-tclinkenbeard
da28face2c Avoid throwing while relocating Deque contents 2020-07-10 11:42:56 -07:00
Evan Tschannen
4562d20f81
Merge pull request #3480 from ajbeamon/server-side-latency-metrics
Capture and report latency statistics for server-side requests
2020-07-09 22:34:37 -07:00
A.J. Beamon
693595f4e5 Fix make build, fix GRV schema 2020-07-09 16:50:08 -07:00
A.J. Beamon
04d1217941 Track statistics about server-side request latency on each process, to include min, max, mean, and various percentiles. 2020-07-09 16:39:15 -07:00
sfc-gh-tclinkenbeard
cf4f753836 Test ArenaReader in Downgrade workload 2020-07-09 16:26:27 -07:00
Andrew Noyes
6caa3e470c Fix valgrind build 2020-07-09 22:05:48 +00:00