Commit Graph

17175 Commits

Author SHA1 Message Date
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
Chaoguang Lin feb4e48f20 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-08-31 12:26:21 -07:00
A.J. Beamon 82419d086f
Merge pull request #5484 from sfc-gh-ajbeamon/network-thread-busyness-include-primary
When using an external client, report the larger of the primary and external network thread busyness
2021-08-31 09:39:46 -07:00
A.J. Beamon 2fa97f60fe
Update fdbclient/NativeAPI.actor.cpp
Co-authored-by: Trevor Clinkenbeard <trevor.clinkenbeard@snowflake.com>
2021-08-31 08:53:37 -07:00
Zhe Wu 2d298355a5
Merge pull request #5489 from halfprice/zhewu/remote-checkregion-in-health-checking
Remove checkRegions in shouldTriggerRecoveryDueToDegradedServers
2021-08-30 15:15:42 -07:00
Steve Atherton 8e41192187
Merge pull request #5508 from sfc-gh-jfu/jfu-exclude-redwood
Exclude redwood from part 1 of restarting tests that are from versions < 6.3
2021-08-30 15:12:07 -07:00
Lukas Joswiak 6954cbfe01
Merge pull request #5502 from sfc-gh-tclinkenbeard/document-bools
Document "averaged" parameter of PerfMetric constructor
2021-08-30 15:08:32 -07:00
Jon Fu 25b8e2e152 Exclude redwood in from_5.0.0 tests 2021-08-30 17:13:49 -04:00
Jon Fu 3f77c72821 Exclude redwood from part 1 of restarting tests that are from versions < 6.3 2021-08-30 16:49:49 -04:00
sfc-gh-tclinkenbeard a574661bc3 Remove unnecessary temporary object from ApiCorrectnessWorkload::getMetrics 2021-08-30 13:33:25 -07:00
Trevor Clinkenbeard 8cd578b531
Fix PerfMetric.cpp copyright header
Co-authored-by: Lukas Joswiak <lukas.joswiak@snowflake.com>
2021-08-30 13:31:30 -07:00
Jingyu Zhou 53d63ed8c5
Merge pull request #5504 from sfc-gh-tclinkenbeard/increase-downgrade-version
Increase minimum downgrade version to 7.0
2021-08-30 13:12:10 -07:00
Zhe Wu 6e4f74c9b3 Remove checkRegions in shouldTriggerRecoveryDueToDegradedServers 2021-08-30 13:03:14 -07:00
Chaoguang Lin 9a6654ef23
Merge pull request #5488 from sfc-gh-clin/refactor-profile-command
Refactor profile/triggerddteaminfolog/tssq commands
2021-08-30 11:25:22 -07:00
sfc-gh-tclinkenbeard 8f97d66b44 Increase minimum downgrade version 2021-08-30 11:14:59 -07:00
Aaron Molitor 31fe5db38b
Update README.md 2021-08-30 09:47:44 -07:00
Aaron Molitor e1ca499a2b
Update README.md
update build badge
2021-08-30 09:47:20 -07:00
Andrew Noyes 5149d2c109
Merge pull request #5487 from dtiukalov/patch-1
use make_unique instead of new - exception safe
2021-08-30 08:19:10 -07:00
sfc-gh-tclinkenbeard e918d20f68 Document "averaged" parameter of PerfMetric constructor 2021-08-29 15:38:21 -07:00
Jingyu Zhou e576fd45f5
Merge pull request #5496 from xis19/master
Refactor TxnStateRequest handler in commitProxyServerCore
2021-08-29 11:14:45 -07:00
Xiaoge Su e6b8a519c4 fixup! Make processTransactionStateRequestPart not blocking 2021-08-28 21:10:10 -07:00
Trevor Clinkenbeard f1ad32332f
Merge pull request #5457 from sfc-gh-tclinkenbeard/paxos-config-db
Add CommitQuorum for configuration database
2021-08-28 09:54:59 -07:00
Xiaoge Su 74d8ca87d7 Refactor TxnStateRequest handler in commitProxyServerCore 2021-08-27 23:38:34 -07:00
sfc-gh-tclinkenbeard 86c6c2b643 Merge remote-tracking branch 'origin/master' into paxos-config-db 2021-08-27 23:24:14 -07:00
A.J. Beamon 9b037a77cd
Merge pull request #5497 from apple/format_master
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-08-27 22:22:07 -07:00
FDB Formatster 69508b980f modify comments to make clang-format and coverage tool play nice 2021-08-27 17:18:00 -07:00
FDB Formatster 2c788c233d apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-08-27 17:07:47 -07:00
A.J. Beamon a51988ff3a Refactor our PRIVATE_EXCEPT_FOR_TLSCONFIG_CPP macro to be compatible with clang-format. Remove one use of it that is no longer needed now that actors can access private members. 2021-08-27 16:41:45 -07:00