Commit Graph

18502 Commits

Author SHA1 Message Date
Renxuan Wang ea8b2bd314 Resolve hostnames synchronously when calling actor is impossible. 2022-02-22 16:29:59 -08:00
Renxuan Wang 622d89b552 Rebase on main.
Since we changed ClusterConnectionString's status flag from boolean to enum in #6422, we need to update this PR correspondingly.
2022-02-22 16:29:59 -08:00
Renxuan Wang 8eb7a10404 Address comments. 2022-02-22 16:29:59 -08:00
Renxuan Wang 481587a8c6 Turn on hostname logic. 2022-02-22 16:29:59 -08:00
Trevor Clinkenbeard ab4a1d6dba
Merge pull request #6406 from sfc-gh-bvr/dd-utestclass
Dd utestclass
2022-02-22 15:18:12 -08:00
Bharadwaj V.R f7aeae5a5c
Merge branch 'apple:main' into dd-utestclass 2022-02-22 11:59:11 -08:00
Xiaoxi Wang 341a3843b0
Merge pull request #6434 from sfc-gh-xwang/ppw-restarting
change storage_migration_mode to storage_migration_type
2022-02-22 11:32:43 -08:00
Xiaoxi Wang 59ac1dffb4 change storage_migration_mode to storage_migration_type 2022-02-22 09:36:30 -08:00
Renxuan Wang c29c522d3e Change ClusterConnectionString's status flag from boolean to enum.
So that when multiple threads try to resolve hostnames concurrently, we should have only one resolving and others wait on the result. Otherwise, they would add duplicated resolved results to coordinators.
2022-02-21 10:53:03 -08:00
pluveto 6d101732e1 Fix invalid link to download page
Not available: https://www.foundationdb.org/download/
Change to https://github.com/apple/foundationdb/releases
2022-02-21 09:30:15 -08:00
Mohamed Oulmahdi b021ff6083
Merge pull request #6416 from Doxense/fix-purge-outdated-history
Fix `purgeOutdatedHistory`
2022-02-19 10:00:59 +01:00
Trevor Clinkenbeard 82bbfa8aee
Merge pull request #6395 from sfc-gh-tclinkenbeard/global-tag-throttling
Create `TagThrottler` class
2022-02-18 13:17:28 -08:00
Mohamed Oulmahdi d32d18ea64 Fix purgeOutdatedHistory 2022-02-18 11:47:44 +01:00
Bharadwaj V.R c1b0b336ce Fix merge conflicts in DDTC.actor.cpp - change serverMetrics to setServerMetrics and setTeamHealthy to markTeamUnhealthy 2022-02-17 20:41:38 -08:00
Bharadwaj V.R 49d2a56776
Merge branch 'main' into dd-utestclass 2022-02-17 20:22:07 -08:00
Xiaoxi Wang 4dffb61f78
Merge pull request #6403 from sfc-gh-xwang/ppw-restarting
move perpetual wiggle upgrade & downgrade test to 7.1
2022-02-17 15:57:24 -08:00
Trevor Clinkenbeard 1368a4e2c4
Merge pull request #6407 from sfc-gh-tclinkenbeard/fix-knob-default
Increase `ITERATIONS_PER_REACTOR_CHECK` default
2022-02-17 15:02:17 -08:00
sfc-gh-tclinkenbeard d01f035848 Increase ITERATIONS_PER_REACTOR_CHECK default 2022-02-17 13:45:17 -08:00
Bharadwaj V.R c568f9884d Make a few more DDCollection methods private 2022-02-17 08:25:20 -08:00
Bharadwaj V.R 7a17dbeacc Create DD unit test class. Start to make test-specific methods in DDTeamCollection private 2022-02-16 19:18:24 -08:00
Xiaoxi Wang f2b59af9b0 format code 2022-02-16 16:32:06 -08:00
Zhe Wu e07ae6fdb9 Address comments 2022-02-16 15:28:56 -08:00
Zhe Wu 9da735c38e Batch empty peek reply 2022-02-16 15:28:56 -08:00
Xiaoxi Wang e3909ad05e modify test file 2022-02-16 11:54:31 -08:00
Xiaoxi Wang 3dfdc6943c move downgrade/upgrade test to XXX_7.1.0 because in 7.0 the workload doesn't have the fix 2022-02-16 10:48:31 -08:00
Trevor Clinkenbeard 3da99fa55a
Merge pull request #6390 from sfc-gh-tclinkenbeard/dd-refactor
Improve encapsulation of `TCServerInfo`
2022-02-16 10:06:45 -08:00
Trevor Clinkenbeard 57f59a66f4
Merge pull request #6252 from sfc-gh-tclinkenbeard/flow-enhancements
Add Flow benchmarks and `ITERATIONS_PER_REACTOR_CHECK` knob
2022-02-15 18:50:48 -08:00
sfc-gh-tclinkenbeard a32547cbbe Merge remote-tracking branch 'origin/main' into flow-enhancements 2022-02-15 15:56:42 -08:00
sfc-gh-tclinkenbeard 32bbabefd7 Merge remote-tracking branch 'origin/main' into dd-refactor 2022-02-15 14:11:30 -08:00
Trevor Clinkenbeard 101392867a
Merge pull request #6383 from sfc-gh-bvr/dd-utest
Dd utest
2022-02-15 11:07:19 -08:00
sfc-gh-tclinkenbeard 47d5492459 Make many fields and methods of Ratekeeper private 2022-02-14 19:28:19 -08:00
sfc-gh-tclinkenbeard 0f4c808f37 Remove TagThrottler::ratekeeper field 2022-02-14 19:08:23 -08:00
Bharadwaj V.R 39e7e4cdaa
Merge branch 'apple:main' into dd-utest 2022-02-14 19:01:28 -08:00
sfc-gh-tclinkenbeard 182fb8de3d Change type of TagThrottlerImpl::ratekeeper 2022-02-14 18:57:16 -08:00
sfc-gh-tclinkenbeard 58669717f1 Move tryAutoThrottleTag method to TagThrottler 2022-02-14 18:54:12 -08:00
sfc-gh-tclinkenbeard b80f89204a Use PImpl for TagThrottler class 2022-02-14 18:17:55 -08:00
sfc-gh-tclinkenbeard 796249e99d Move lastBusiestCommitTagPick field back to Ratekeeper 2022-02-14 16:15:51 -08:00
sfc-gh-tclinkenbeard 00f12687c6 Add TagThrottler class 2022-02-14 16:03:37 -08:00
Trevor Clinkenbeard 3b4cbded96
Merge pull request #6374 from sfc-gh-ajbeamon/protocol-version-pretty-print
Log protocol version as a hex string rather than a uint64_t
2022-02-14 13:51:00 -08:00
Vaidas Gasiunas 092b5cee4b MVC2.0: Rollback added code 2022-02-14 13:50:42 -08:00
sfc-gh-tclinkenbeard 49ba96e0bb Clean up ratekeeper includes 2022-02-14 13:02:09 -08:00
sfc-gh-tclinkenbeard 8074630530 Rename class RatekeeperData to Ratekeeper 2022-02-14 12:42:25 -08:00
sfc-gh-tclinkenbeard d6c5239080 Fix copyright headers 2022-02-14 12:36:44 -08:00
sfc-gh-tclinkenbeard d4b4479399 Rename RatekeeperData.actor.cpp to Ratekeeper.actor.cpp 2022-02-14 12:35:50 -08:00
sfc-gh-tclinkenbeard 687df447ce Move all code from Ratekeeper.actor.cpp into RatekeeperData.actor.cpp 2022-02-14 12:32:34 -08:00
sfc-gh-tclinkenbeard 9beae3fb64 Add RatekeeperData class with refactored implementation 2022-02-14 11:49:45 -08:00
Bharadwaj V.R 3420654813 Remove DDUnitTests.toml; Between AllSimUnitTests and SpecificUnitTests, there are enough ways available to exercise the DD unit tests 2022-02-14 10:30:20 -08:00
Bharadwaj V.R eaef2a373e Remove superfluous wait statements in DD unit tests. They wait on the getTeam future 2022-02-14 10:11:00 -08:00
Bharadwaj V.R d214ec062d
Merge branch 'apple:main' into dd-utest 2022-02-14 09:25:13 -08:00
Bharadwaj V.R a14377641c Renamed a couple of test-only collection methods and make the test case waits more succinct 2022-02-13 23:53:12 -08:00