Commit Graph

17247 Commits

Author SHA1 Message Date
Xiaoge Su abf73047ca Enforce std:: specifier rather than using namespace 2021-09-16 19:40:28 -07:00
Renxuan Wang 96fcde45c2 Minor leader election code improvements.
1. Rename monitorLeaderRemotely* functions to monitorLeaderWithDelayedCandidacy*. "Remote" is not clearly describing what the functions are doing;
2. Rename monitorLeaderForProxies() to monitorLeaderAndGetClientInfo() to better describe the function;
3. Remove monitorLeaderRemotelyInternal() and monitorLeaderRemotely() in MonitorLeader.actor.cpp, to eliminate code duplication. They already exist in worker.actor.cpp;
4. Move the declaration of getLeader() from LeaderElection.actor.cpp to MonitorLeader.h;
5. Update a few comments.
2021-09-16 15:34:45 -07:00
Markus Pilman 548b9d75f6 Fix filename 2021-09-16 15:15:06 -07:00
Markus Pilman 1ad8ca7dda Fix naming and change filename 2021-09-16 15:15:06 -07:00
Markus Pilman 1cf98785a0 updated release notes 2021-09-16 15:15:06 -07:00
Markus Pilman 2c39f4b2f0 Make naming consistent with Fedora guidelines 2021-09-16 15:15:06 -07:00
Markus Pilman a2b8812e63 fix permissions again 2021-09-16 15:15:06 -07:00
Markus Pilman 56aff2bc14 change package name to make yum happy 2021-09-16 15:15:06 -07:00
Markus Pilman d46c195444 fix directory permissions in postinst script 2021-09-16 15:15:06 -07:00
Mohamed Oulmahdi f83d97ee39 Enable documentation for Windows 2021-09-15 16:31:25 -06:00
Mohamed Oulmahdi 13e55f7b7a Format code 2021-09-15 16:30:58 -06:00
Mohamed Oulmahdi 5df51ee979 Add output for ignored Windows tests 2021-09-15 16:30:58 -06:00
Mohamed Oulmahdi 906f7cf876 Ignore fdbserver tests on Windows 2021-09-15 16:30:58 -06:00
Mohamed Oulmahdi e93f6e323a Fix test paths for on Windows 2021-09-15 16:30:58 -06:00
Mohamed Oulmahdi ce4bef2cec Allow / and - for fdbserver command line parameter values 2021-09-15 16:30:58 -06:00
He Liu 05e3190d8c Merge branch 'master' of https://github.com/apple/foundationdb into improve-exlude-failed-servers 2021-09-15 11:27:48 -07:00
He Liu ef7fdc0781 fmt 2021-09-15 10:32:09 -07:00
He Liu c8a3413820 exclude to-be-dropped server from the random team 2021-09-15 09:07:50 -07:00
Josh Slocum 5728c97fd0 fixing tss enablement with fault injections 2021-09-15 09:26:19 -06:00
helium e838d63011 exclude to-be-removed server from target team 2021-09-14 20:57:58 -07:00
helium fd6d088945 choose team before removing server 2021-09-14 19:24:59 -07:00
Josh Slocum 6673540553 TSS Metrics fix 2021-09-14 13:15:05 -05:00
Chaoguang Lin e7d3516084 solve comments 2021-09-14 11:04:02 -07:00
Chaoguang Lin 6cca6b9e6f Refactor exclude command 2021-09-14 11:04:02 -07:00
Chaoguang Lin 1b3bae899b update comments 2021-09-14 11:04:02 -07:00
Chaoguang Lin ff54ba8626 Refactor coordinators and include command 2021-09-14 11:04:02 -07:00
Chaoguang Lin 5c5a5d249e Update auto_coordinators special key error message 2021-09-14 11:04:02 -07:00
A.J. Beamon 76ed965139 Switch from GO111MODULE=off to GO111MODULE=auto (to match what is on release-7.0 and what we ultimately decided on) 2021-09-14 09:44:17 -07:00
Hari Bhaskaran ee1056cacd Remove incorrect comment
As described in this comment, https://forums.foundationdb.org/t/questions-on-status-json/2843/3?u=harikb , removing the comment that will make reader think this is about RAM. No new comment is necessary since the key is already "disk"
2021-09-14 09:39:23 -07:00
Josh Slocum 5ac97154d5 Update documentation/sphinx/source/command-line-interface.rst
Co-authored-by: Xiaoxi Wang <xiaoxi.wang@snowflake.com>
2021-09-14 09:55:41 -05:00
Josh Slocum 23c690f0d3 Expanding documentation on storage_migration_type 2021-09-14 09:55:41 -05:00
Josh Slocum 9992a7b33f Added StorageMigrationType and cli commands 2021-09-14 09:55:41 -05:00
Neethu Haneesha Bingi 0fd4cc14d7 Disable rocksdb in simulation to unblock CI. 2021-09-13 16:17:44 -07:00
helium 7e53f8662d added comments 2021-09-13 13:28:55 -07:00
Chaoguang Lin 325a7881f4 Clang-format fdbserver/workloads/SpecialKeySpaceCorrectness.actor.cpp 2021-09-13 13:28:48 -07:00
Chaoguang Lin cb9dde358c Solve comments, refatctor the error handling part 2021-09-13 13:28:48 -07:00
Chaoguang Lin e81748e732 Fix all tr->get, hold the ThreadFuture for the memory 2021-09-13 13:28:48 -07:00
Chaoguang Lin 7e33e19feb Simplify the code using the function getSpecialKeysFailureErrorMessage 2021-09-13 13:28:48 -07:00
Chaoguang Lin 07ebc2013c Print the updated help message 2021-09-13 13:28:48 -07:00
Chaoguang Lin cfb9b56067 Refactor lock/unlock command, fix the related correctness test, add the documentation for updating usage of the special key 2021-09-13 13:28:48 -07:00
Lukas Joswiak 1dade88916 Add override 2021-09-13 12:28:17 -07:00
Lukas Joswiak 96bf4268eb Implement IClosable in OnDemandStore 2021-09-13 12:28:17 -07:00
Lukas Joswiak 95710f5f49 Add fix for KillWorker unit test
The fix here is essentially to add additional work to the unit test. The
problem seems to be that during setup, some initial work is being done
with the key value store the ConfigNode opens. The simulator seems to be
doing work in the background to make the key value store "durable", but
because the unit test ends so quickly, the simulation is interrupted
(the key value files get deleted after the unit test is finished).
2021-09-13 12:28:17 -07:00
sfc-gh-tclinkenbeard 8e523c5bae Fixed grv_proxy_failed error message 2021-09-12 17:33:25 -07:00
sfc-gh-tclinkenbeard 368e217adf Fixed commit_proxy_failed error message 2021-09-12 17:33:25 -07:00
sfc-gh-tclinkenbeard 27c08b04e5 s/subcription/subscription 2021-09-12 17:33:25 -07:00
Xiaoge Su c32c3b6ec4 fixup! Reformat the code per github's requirement 2021-09-12 14:17:19 -07:00
Xiaoge Su 40648dbb31 fixup! Update code per comment
Also fix the issue that TagPartitionedLogSystem.actor.cpp should include
TagPartitionedLogSystem.actor.h
2021-09-12 14:17:19 -07:00
Xiaoge Su 909a5ff73a Extract methods in LogSystemConfig.h to corresponding cpp file 2021-09-12 14:17:19 -07:00
Xiaoge Su 067c1cc55b Extract methods in LogSystem.h to corresponding cpp file 2021-09-12 14:17:19 -07:00