Commit Graph

5405 Commits

Author SHA1 Message Date
Vishesh Yadav 4316ef9ec6 failMon: For clients remove expireFailure and report failures only during connect 2019-06-09 00:43:38 -07:00
Vishesh Yadav 6fa7081a21 net: Don't make FailureMonitoring requests from client
This patch removes the need for clients to continuously contact
cluster coordinator for failure monitoring information. Instead, it
uses the FlowTransport to monitor the statuses of peers and update
FailureMonitor accordingly.
2019-06-09 00:43:38 -07:00
Vishesh Yadav 6b4d30c3ae failmon: Identify client vs server when starting failure monitoring client 2019-06-09 00:43:12 -07:00
Evan Tschannen 5bdf5aaeb6
Merge pull request #1662 from etschannen/master
Merge 6.1 into master
2019-06-06 13:57:34 -07:00
Evan Tschannen cfa46ef48e fix compiler errors 2019-06-06 12:57:46 -07:00
Alvin Moore 3fcf491b00
Merge pull request #1669 from AlvinMooreSr/cmake-ccache
Enable ccache by Environmental Variable
2019-06-06 12:50:02 -07:00
Alvin Moore 4e99bebb18 Added support for enabling ccache by environmental variable 2019-06-06 08:54:31 -07:00
A.J. Beamon 4dfec31a9c
Merge pull request #1667 from alexmiller-apple/fix-printable
Fix printable() being incorrect for bytes >127.
2019-06-05 16:23:44 -07:00
Alex Miller 526468becb Fix printable() being incorrect for bytes >127.
The use of `auto` hid that TraceableString<T>::begin(value) was a signed
char, and therefore `*iter` was -1, and -1/16 is 0.

Thus, a 0xFF byte was printed as \x0f.  Forcing it to an unsigned type
makes it correctly become \xff.
2019-06-05 14:41:31 -07:00
Alex Miller 531f69a969
Merge pull request #1586 from zjuLcg/MakoWorkload
Mako workload
2019-06-05 11:51:23 -07:00
A.J. Beamon dbfa746494 Don't set the deterministic random seed with platform::getRandomSeed since that is what it does by default. 2019-06-05 11:48:29 -07:00
A.J. Beamon c027792d0f Make the default seed of the generator returned by deterministicRandom() random. This means that the random number sequence won't be deterministic unless you set a seed. 2019-06-05 11:48:29 -07:00
A.J. Beamon 31e82a6d6d Clients should seed the deterministic random number generator on the network thread. 2019-06-05 11:48:29 -07:00
Alex Miller 77697666e6 Make USE_CCACHE=ON print an error if ccache is not found 2019-06-05 11:46:41 -07:00
Alex Miller 78137c9ae8 Add a cmake flag to enable ccache use by default. 2019-06-05 11:46:41 -07:00
chaoguang 877a59fab9 add in fdbserver.vcxproj.filters 2019-06-04 15:58:17 -07:00
Evan Tschannen 29b96414e2 Merge branch 'release-6.1'
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbclient/NativeAPI.actor.cpp
#	fdbserver/Coordination.actor.cpp
#	flow/Arena.h
#	versions.target
2019-06-03 18:49:35 -07:00
Evan Tschannen beff187560 Merge branch 'master' of github.com:apple/foundationdb 2019-06-03 18:39:56 -07:00
Evan Tschannen 2f78b08c1c
Merge pull request #1661 from etschannen/post-release-cleanup-6.1.9
Post release cleanup 6.1.9
2019-06-03 18:35:39 -07:00
Evan Tschannen adda088c40 update installer WIX GUID following release 2019-06-03 18:34:50 -07:00
Evan Tschannen f0d8b7784e update versions target to 6.1.10 2019-06-03 18:34:50 -07:00
Evan Tschannen a6c09645bf
Merge pull request #1651 from satherton/reduce-http-error-noise
For HTTP requests, a missing request ID in the response is ignored if…
2019-06-03 17:07:01 -07:00
Steve Atherton 08e7f41331
Update documentation/sphinx/source/release-notes.rst
Co-Authored-By: Evan Tschannen <36455792+etschannen@users.noreply.github.com>
2019-06-03 17:06:29 -07:00
Stephen Atherton 87e2c6cd5b Added release note about HTTP request id handling change. 2019-06-03 16:59:36 -07:00
Evan Tschannen 50f963d006
Merge pull request #1658 from etschannen/release-6.1
updated documentation for 6.1.9
2019-06-03 16:58:59 -07:00
Evan Tschannen 7ef0025c84
Merge pull request #1660 from etschannen/prepare-release-6.1.9
update installer WIX GUID following release
2019-06-03 16:58:45 -07:00
Stephen Atherton d0011c3844 Merge branch 'release-6.1' of https://github.com/apple/foundationdb into reduce-http-error-noise 2019-06-03 16:51:21 -07:00
chaoguang 66811b7bd2 update to latest version 2019-06-03 16:49:19 -07:00
Evan Tschannen e40301449b update installer WIX GUID following release 2019-06-03 16:49:13 -07:00
chaoguang 3055376b45 remove static keyword to make variables not in binary 2019-06-03 16:40:34 -07:00
Evan Tschannen e0d80d115b updated documentation for 6.1.9 2019-06-03 15:08:35 -07:00
A.J. Beamon bb22ee7d37
Merge pull request #1649 from etschannen/feature-coordinator-bug
The coordinators did not always converge on the same leader
2019-06-03 15:04:25 -07:00
A.J. Beamon 773bce9e32
Merge pull request #1643 from etschannen/feature-cc-mem-leak
Fixed a memory leak on the cluster controller
2019-06-03 15:02:36 -07:00
A.J. Beamon de9b5f20f7
Merge pull request #1641 from etschannen/feature-fast-printable
Improved the CPU efficiency of printable
2019-06-03 15:01:58 -07:00
Meng Xu dc59f63d0e TraceEvent:First letter must be capitalized 2019-06-03 13:27:18 -07:00
Evan Tschannen 449685520c updated release notes 2019-06-03 10:21:57 -07:00
chaoguang ac2c0f38b7 remove inheritance from KVWorkload 2019-06-02 23:16:39 -07:00
Meng Xu 7c5b8c1def
Merge pull request #1654 from adamfeldman/patch-1
Fix minor typos in config docs
2019-06-01 11:38:39 -07:00
Adam Feldman 21e574d33d
Fix minor typos in config docs
the each --> east, datacenter have --> datacenters has, mean signal --> signal
2019-05-31 20:00:44 -05:00
A.J. Beamon b30fe29c9f
Merge pull request #1633 from pjvds/directory-errors
change common directory errors for easy comparison
2019-05-31 15:19:21 -07:00
sramamoorthy a8c9432ced windows build fix : del sys/wait.h in Platform.cpp 2019-05-31 14:59:53 -07:00
A.J. Beamon 610c1c44d2
Merge pull request #1652 from alecgrieser/ubuntu-6.1.8-link
Fix Ubuntu 6.1.8 links
2019-05-31 12:57:03 -07:00
Alec Grieser 1d82549148 fix Ubuntu 6.1.8 links 2019-05-31 12:50:56 -07:00
Stephen Atherton 7ac62fb40f For HTTP requests, a missing request ID in the response is ignored if the response code is 5xx indicating a server error. 2019-05-31 12:33:39 -07:00
chaoguang d07c46e3f3 fix issues by comments 2019-05-31 00:44:07 -07:00
chaoguang 66d25cef21 fix issues by comments 2019-05-31 00:27:30 -07:00
Evan Tschannen 172a0a9009 added an extra trace event 2019-05-30 17:25:42 -07:00
Evan Tschannen b830fa4c84 fix: A minority of coordinators could continue choosing a candidate which was not the leader 2019-05-30 17:25:20 -07:00
Meng Xu 15bfadbce4 Design: Backup data format: Add endianness discussion 2019-05-30 17:06:53 -07:00
Meng Xu 7ff54290a2 Design:Backup format: Fix types 2019-05-30 17:06:53 -07:00