Commit Graph

18689 Commits

Author SHA1 Message Date
Jon Fu 6f1c3d50bb add debug traces for testing 2022-02-15 15:08:53 -05:00
Trevor Clinkenbeard 101392867a
Merge pull request #6383 from sfc-gh-bvr/dd-utest
Dd utest
2022-02-15 11:07:19 -08:00
vikasgupta8 595f50ce26 indentation corrected 2022-02-15 13:03:12 +00: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
Jon Fu 7492b755d8 Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache 2022-02-14 14:06:49 -05:00
Jon Fu 8129c4e21c simplify sidebandsingle workload and be stricter with batch throttling on rk 2022-02-14 13:58:56 -05: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
Xiaoxi Wang 5445dd3106 add option to fix consistency check 2022-02-13 23:30:14 -08:00
Xiaoxi Wang 22cf6d8e0e Revert "Revert "add proper downgrade/upgrade test for storage migration with PPW""
This reverts commit 6d3b7c97b8.
2022-02-13 16:10:45 -08:00
sfc-gh-tclinkenbeard e77b70c508 Encapsulate TCMachineTeamInfo fields 2022-02-12 15:50:51 -08:00
sfc-gh-tclinkenbeard 51afe403d1 Encapsulate TCMachineTeamInfo::id field 2022-02-11 22:56:16 -08:00
sfc-gh-tclinkenbeard a958fd2fbc Encapsulate TCServerInfo::serverMetrics 2022-02-11 22:05:57 -08:00
sfc-gh-tclinkenbeard 62dbd29ddc Remove unnecessary whitespace 2022-02-11 21:47:36 -08:00
sfc-gh-tclinkenbeard 10f40294a3 Encapsulate TCServerInfo::teams field 2022-02-11 21:44:28 -08:00
sfc-gh-tclinkenbeard 45f68c7db7 Add TCServerInfo::removeTeamsContainingServer method 2022-02-11 21:29:52 -08:00
sfc-gh-tclinkenbeard 5bfb2669a2 Add TCServerInfo::removeTeam method 2022-02-11 21:05:45 -08:00
sfc-gh-tclinkenbeard 3959ee6c27 Encapsulate TCServerInfo::dataInFlightToServer 2022-02-11 19:41:04 -08:00
sfc-gh-tclinkenbeard 0fe4dcf469 Make several more TCServerInfo fields private 2022-02-11 19:41:04 -08:00
sfc-gh-tclinkenbeard 4aa5a329ac Encapsulate TCServerInfo::collection and TCServerInfo::tracker 2022-02-11 19:41:04 -08:00
sfc-gh-tclinkenbeard 711462dfd7 Encapsulate TCServerInfo::inDesiredDC 2022-02-11 19:41:04 -08:00
Trevor Clinkenbeard 6ac22756a0
Merge pull request #6388 from apple/revert-6345-ppw-restarting
Revert "add proper downgrade/upgrade test for storage migration with PPW"
2022-02-11 16:08:58 -08:00
Kao Makino cb8c5168df
Merge pull request #6378 from sfc-gh-sgwydir/mako-overwrite
Add "overwrite" operation to mako
2022-02-11 15:50:04 -08:00
A.J. Beamon 2e78014870
Merge pull request #6387 from sfc-gh-ajbeamon/fix-endpoint-allocation
When inserting multiple streams into an EndpointMap, don't assign them to the well-known endpoint space
2022-02-11 14:42:08 -08:00
Trevor Clinkenbeard 6d3b7c97b8
Revert "add proper downgrade/upgrade test for storage migration with PPW" 2022-02-11 14:37:14 -08:00
Bharadwaj V.R c3bb248d61 Adapt to members of DDCollection class that were accessed directly in test cases becoming private 2022-02-11 13:56:00 -08:00
Sam Gwydir 25ffcf9f7d documntation 2022-02-11 13:44:37 -08:00
A.J. Beamon 5e7982fdd7
Merge pull request #6350 from sfc-gh-ajbeamon/improve-exclude-help
Improve the help for fdbcli exclude
2022-02-11 13:41:59 -08:00
Jon Fu a63d218e9d simplify test workload and adjust ratekeeper throttling strategy 2022-02-11 16:41:14 -05:00
A.J. Beamon 1b7e790211 When inserting multiple streams into an EndpointMap, don't assign them in the well-known endpoint space 2022-02-11 12:59:12 -08:00
Bharadwaj V.R 36c5d3a1e6
Merge branch 'main' into dd-utest 2022-02-11 12:25:31 -08:00
Trevor Clinkenbeard b8d8eafdec
Merge pull request #6379 from sfc-gh-tclinkenbeard/dd-refactor
Shrink public interface of `DDTeamCollection`
2022-02-11 11:44:15 -08:00
Trevor Clinkenbeard 3260ecb32f
Merge pull request #6345 from sfc-gh-xwang/ppw-restarting
add proper downgrade/upgrade test for storage migration with PPW
2022-02-11 11:09:17 -08:00