91 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard
4f853b19a6 More const-correctness improvements for Reference<AsyncVar<T>> objects 2021-07-12 21:28:38 -07:00
Evan Tschannen
1cec223434 cherry pick streaming replies to master 2021-06-19 09:47:13 -07:00
Zhe Wu
07ee4029f2 Addressing comments. 2021-06-17 14:53:15 -07:00
Zhe Wu
4e3e2b0392 Create health monitor in FDB workers to monitor network condition. This change is only inside the worker. 2021-06-16 14:50:44 -07:00
A.J. Beamon
b2d6930103 The multi-version client monitors the cluster's protocol version and only activates the client library that can connect. 2021-04-15 11:45:14 -07:00
FDB Formatster
df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Richard Chen
c77d9e4abe merge conflicts 2020-12-02 21:53:19 +00:00
David Youngworth
d0391db862 Merge branch 'release-6.2' into release-6.3 2020-11-16 10:15:23 -08:00
Vishesh Yadav
1976f2c371 FlowTransport: Sample connect latencies 2020-11-10 12:12:01 -08:00
Vishesh Yadav
7bdcb01bdf FlowTransport: Count number of incoming/outgoing/failed connections with logging 2020-11-02 18:51:48 -08:00
Richard Chen
5b546c4854 change protocol version to hex encoded string in status json. Move constant from flow transport header to cpp 2020-10-26 19:35:38 +00:00
Richard Chen
ce3f09699f revert checksum 2020-10-23 21:23:28 +00:00
Richard Chen
309e38dc06 add unit test and some cleanup 2020-10-23 19:34:18 +00:00
Richard Chen
055add9682 conflicts 2020-10-23 06:33:00 +00:00
Richard Chen
90caa24af1 add function to get correct checksum class. Remove IChecksum::checkSum function 2020-10-23 02:24:29 +00:00
Richard Chen
c84a5f4014 change IChecksum interface and remove coordinator protocol version optional 2020-10-19 21:39:07 +00:00
Richard Chen
a4ccf8c5b6 add checksum class to change checksum in the future. expose get server protocol api 2020-10-19 16:57:11 +00:00
Jingyu Zhou
d7420bb8c7 Fix merging 6.3 caused test failure 2020-10-16 21:11:01 -07:00
Jingyu Zhou
8f17a1a5d6 Merge branch 'release-6.2' into release-6.3 2020-10-16 15:25:39 -07:00
Richard Chen
41843f07e6 add simulator support for different process versions and ProtocolVersion test 2020-10-12 18:19:31 +00:00
Richard Chen
76d0027fa2 merge anoyes/stable-interface and add back in isCompatible 2020-10-12 18:18:30 +00:00
Evan Tschannen
52828f9e03 Added bytesSent to the PingLatency logging; increasing the logging interval from 1 second to 3 seconds 2020-10-11 23:05:21 -07:00
Evan Tschannen
f03a355c4e Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	documentation/sphinx/source/downloads.rst
#	fdbrpc/FlowTransport.actor.cpp
#	fdbrpc/FlowTransport.h
#	flow/Arena.h
#	flow/Knobs.cpp
#	flow/Knobs.h
#	packaging/msi/FDBInstaller.wxs
2020-10-07 12:28:22 -07:00
Evan Tschannen
29d4d87b56 added a knob for the number of samples 2020-10-06 17:38:09 -07:00
Evan Tschannen
12d2f3a8f3 fixed includes 2020-10-06 17:01:13 -07:00
Evan Tschannen
822312b31d only track latencies to public network addresses; use a continousSample to get median and p90 latencies 2020-10-06 16:55:35 -07:00
Evan Tschannen
2166f9a3dd added logging about bytes received 2020-10-06 16:07:35 -07:00
Evan Tschannen
9efda1fec5 added logging for the ping latencies for all network connections 2020-10-06 13:58:05 -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
Evan Tschannen
717242a0ee reset WAN network connections every 5 minutes is responses take more than 500ms 2020-07-09 22:50:47 -07:00
sfc-gh-tclinkenbeard
dd5cd762a8 Removed dead code 2020-07-04 12:50:40 -07:00
Evan Tschannen
6a006c4c1f use the first RequestStream as the base endpoint 2020-05-20 13:52:22 -07:00
Evan Tschannen
459186dad0 revert previous change to bit shift 2020-05-20 12:32:50 -07:00
Evan Tschannen
b999b93fa2 added a hash function for endpoint 2020-05-20 12:21:57 -07:00
Evan Tschannen
dfc152ebb3 shift the bits farther 2020-05-20 11:34:24 -07:00
Evan Tschannen
ed9d5dd857 cannot change sort order of endpoints 2020-05-20 00:00:06 -07:00
Evan Tschannen
c09a28b0db speed up comparison of endpoints 2020-05-19 20:41:56 -07:00
Evan Tschannen
bf9f24beb5 fixed mismatch of Endpoint UIDs 2020-05-19 17:16:41 -07:00
Evan Tschannen
9313e490aa change the first part of the UID to make comparisons cheaper 2020-05-19 16:48:20 -07:00
Evan Tschannen
fd0ee72293 Merge branch 'master' into feature-small-endpoint 2020-04-29 18:43:10 -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
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
Vishesh Yadav
da7d0093ee Cleanup unused code 2020-04-15 19:48:25 -07:00
Evan Tschannen
ff5543b579 working implementation 2020-04-12 22:18:51 -07:00
Evan Tschannen
0c2e8b9462 only serialize a single endpoint for an interface 2020-04-12 16:04:48 -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
Vishesh Yadav
d90e168e24 Add HealthMonitoring skeleton code 2020-04-03 15:53:00 -07:00