Commit Graph

17102 Commits

Author SHA1 Message Date
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
Xiaoge Su ecca4edeb4 Create TagPartitionedLogSystem.actor.h
TagPartitionedLogSystem.actor.h contains the struct of TagPartitionedLogSystem.
2021-09-12 14:17:19 -07:00
Kao Makino f7c7a31478 Disable clang-format on flow/aarch64/asmdefs.h 2021-09-10 15:33:40 -07:00
Neethu Haneesha Bingi 627ef2e739 Enable rocksdb storage in simulation with some simulation fixes. 2021-09-10 11:11:29 -07:00
Chaoguang Lin 9df392f447
Merge pull request #5528 from sfc-gh-clin/refactor-fdbcli
Refactor fdbcli, get rid of RYWTransaction, refactor status command
2021-09-09 10:31:34 -07:00
Lukas Joswiak 30e7469b19
Update fdbclient/MultiVersionTransaction.actor.cpp 2021-09-08 17:37:33 -07:00
Chaoguang Lin ab29bf05af Solve PR comments 2021-09-08 16:38:42 -07:00
Chaoguang Lin 8cc3f3f49d Code format 2021-09-08 10:56:32 -07:00
Chaoguang Lin 84a2672a33 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-09-08 10:42:59 -07:00
Chaoguang Lin 8cef044a8b Remove commented code; simplify code 2021-09-08 10:42:46 -07:00
Chaoguang Lin af5643c998 Fix the issue in CheckStatus where it stuck as we cannot talk to any of the coordinators 2021-09-08 10:05:13 -07:00
Meng Xu 52a2f56fe2
Merge pull request #5553 from apple/documentation_setuptoolz
put upper bound on setuptools version
2021-09-07 20:02:38 -07:00
Aaron Molitor c07c0ac4fc put upper bound on setuptools version 2021-09-07 18:10:47 -07:00
Chaoguang Lin 99cc042d9c Fix ProfileCommand.actor.cpp, using the correct way to read from global config 2021-09-07 11:06:47 -07:00
Chaoguang Lin d6e7617043
Merge pull request #5540 from sfc-gh-clin/fix-where-old-binary-not-present
Return if no available old binary in the given range
2021-09-03 15:19:16 -07:00
Chaoguang Lin 0d1382eeba Add comments for the change 2021-09-03 14:32:27 -07:00
Chaoguang Lin 87b001ef7b
Merge pull request #5538 from sfc-gh-clin/fix-disableTss-master
Fix reading the disableTss option
2021-09-03 14:23:28 -07:00
Chaoguang Lin 97050ac33f
Merge pull request #5536 from sfc-gh-clin/change-lock-special-key
The lock special key has the lock UID as the value
2021-09-03 14:23:11 -07:00
Chaoguang Lin 56ed0f3b9c Return if no available binary in the given range 2021-09-03 14:21:16 -07:00
Chaoguang Lin b9e4bb7217 Fix reading the disableTss option 2021-09-03 12:47:02 -07:00
Chaoguang Lin 2aa0a5cf58 The lock special key has the lock UID as the value 2021-09-03 12:15:56 -07:00
A.J. Beamon f7002e2a66
Merge pull request #5495 from sfc-gh-ajbeamon/network-thread-busyness-burstiness-score
Busyness API incorporates a burstiness score based on the max busyness interval in a measurement period
2021-09-03 10:29:28 -07:00
A.J. Beamon afd8df4bb9 Merge commit '7f2b6c2c7ec2efcd7339e3c6531e4906322477c3' into network-thread-busyness-burstiness-score 2021-09-03 09:48:11 -07:00
Chaoguang Lin 7f2b6c2c7e
Merge pull request #5532 from sfc-gh-clin/fix-nightly-restarting-tests
Handle the edge case correctly when the upper bound version is less than the binary version
2021-09-02 20:10:01 -07:00
Chaoguang Lin 8622363395 Simplify the condition and update the comment 2021-09-02 18:51:39 -07:00
Chaoguang Lin 3ad620b2df Update comment to be more clear 2021-09-02 18:13:04 -07:00
Chaoguang Lin e7028b7915 Handle the edge case correctly when the upper bound version is less than the binary verion 2021-09-02 17:42:46 -07:00
Chaoguang Lin a4a7d61252
Merge pull request #5529 from sfc-gh-clin/fix-nightly-restarting-tests
Add syntax until_*.*.* in restarting test to specify upper bound of binary version
2021-09-02 16:14:27 -07:00
Chaoguang Lin 82e1e850c2 Add syntax until_*.*.* in restarting test to specify upper bound of binary version 2021-09-02 14:07:15 -07:00
Zhe Wu 4fb6abaa60
Merge pull request #5486 from halfprice/zhewu/wait-for-good-recruitment-time
RecruitFromConfigurationRetry should wait for goodRecruitmentTime to be ready
2021-09-02 12:11:09 -07:00
Chaoguang Lin 9b148c6c63 Adding code to hold the threadfuture of ITransaction::get; other fixes for using external clients 2021-09-02 11:52:39 -07:00
Zhe Wu 51920ffa16 RecruitFromConfigurationRetry should wait for goodRecruitmentTime to be ready 2021-09-02 09:32:08 -07:00
Alec Grieser 46cf91cb4e
Merge pull request #5521 from xis19/master
Fix the self-assign warning in Atomic.h
2021-09-01 09:58:35 -07:00
Xiaoge Su cb9ee75d9b Fix the self-assign warning in Atomic.h
When compiling FDB using clang++, self-assign warning appears due to the
code

	pos = littleEndian32(pos);

in Atomic.h, which expands to

	pos = pos;

as littleEndian32 is defined as

        #define littleEndian32(value) value

This warning is not interesting, but annoying, by adding a
no-side-effect casting, the warning is suppressed.
2021-08-31 23:54:56 -07:00
yao-xiao-github f7842ff3db
Log SubCode and Severity for RocksDB erros (#5515) 2021-08-31 21:03:02 -07:00
A.J. Beamon 75d7260597
Merge pull request #5516 from sfc-gh-ajbeamon/specific-unit-test-for-tooling-based-runs
Specific unit test for tooling based runs
2021-08-31 16:42:39 -07:00
A.J. Beamon ee357881b5 Add the new test to cmake 2021-08-31 15:19:52 -07:00
A.J. Beamon f78a68735a Add a specific unit test file for use by tooling. 2021-08-31 15:06:13 -07:00