He Liu
bc5bfaffda
Shard based move ( #6981 )
...
* Shard based move.
* Clean up.
* Clear results on retry in getInitialDataDistribution.
* Remove assertion on SHARD_ENCODE_LOCATION_METADATA for compatibility.
* Resolved comments.
Co-authored-by: He Liu <heliu@apple.com>
2022-07-07 20:49:16 -07:00
Bharadwaj V.R
8cf2be030f
Build a TenantCache for use by DD ( #7207 )
...
* Add an DD tenant-cache-assembly actor
* Add basic tenant list monitoring for tenant cache.
* Update DD tenant cache refresh to be more efficient and unit-testable
* Remove the DD prefix in the tenant cache class name (and associated impl and UT class names); there is nothing specific to DD in it; DD uses it; other modules may use it in the future
* Disable DD tenant awareness by default
2022-06-21 16:29:30 -07:00
Xiaoxi Wang
13a77dd5a2
change priority knob; change PromiseStream to FutureStream; remove comments; add on_sr check
2022-05-25 17:09:34 -07:00
Xiaoxi Wang
7c37d172b9
solve some comments
2022-05-03 17:21:08 -07:00
Xiaoxi Wang
e0ae0942c4
fix inflight read division; temp destComplete fix; 0.1 constant poll time
2022-04-20 12:15:40 -07:00
Xiaoxi Wang
a7a9de781e
update unittests
2022-04-16 22:51:55 -07:00
Xiaoxi Wang
20a0b8d761
enable sim skip; add readInFlight methods and inflight Penalty; add delayed inflight substraction:
2022-03-31 09:57:00 -07:00
Xiaoxi Wang
b15f0eb2b0
add ReadInFlight
2022-03-28 14:20:07 -07:00
Xiaoxi Wang
510a1875d1
random unit test
2022-03-24 18:38:50 -07:00
Xiaoxi Wang
1b631a9263
solve conflict with main
2022-03-24 16:29:11 -07:00
Xiaoxi Wang
87640673f7
add hasWigglePausedServer method; add new sort criteria
2022-03-14 16:02:42 -07:00
Bharadwaj V.R
8be519a5d8
Make getServerMetrics private to TCServerInfo class and rename some methods to remove redundant reference to 'server'
2022-03-12 17:30:50 -04:00
Bharadwaj V.R
7bad6c5093
Make server API for load metrics
2022-03-12 17:30:50 -04:00
Bharadwaj V.R
2d2f7ed2c6
Refactor team space methods and create new TCServerInfo method to expose space metrics
2022-03-12 17:30:50 -04:00
Xiaoxi Wang
a28b0f4361
Merge branch 'main' of https://github.com/apple/foundationdb into readaware
2022-03-03 11:15:18 -08:00
Xiaoxi Wang
5e74b5006e
fix uninitialized member
2022-02-28 10:22:32 -08:00
Xiaoxi Wang
a07e413eae
metrics comparator; rebalanceReadLoad()
2022-02-24 16:41:01 -08:00
Bharadwaj V.R
949f1f1c3e
Switch to testing MIN_AVAILABLE_SPACE
2022-02-16 11:33:07 -08:00
Bharadwaj V.R
3fe6a952f1
Merge with upstream tcinfo refactor and move the server knob init to be adjacent to related knobs
2022-02-16 10:28:55 -08:00
Bharadwaj V.R
cb5f44c76d
Merge branch 'apple:main' into fdb#4271
2022-02-16 10:14:50 -08:00
Bharadwaj V.R
fe03e6f822
Introduce a new server knob and use it to test if storage servers are near the min bar for available space
2022-02-15 22:43:06 -08:00
sfc-gh-tclinkenbeard
32bbabefd7
Merge remote-tracking branch 'origin/main' into dd-refactor
2022-02-15 14:11:30 -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
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
sfc-gh-tclinkenbeard
3f8c1e2e69
Encapsulate TCServerInfo::id
2022-02-10 23:04:25 -08:00
sfc-gh-tclinkenbeard
6e87c01404
Move implementations of TC*Info methods to TCInfo.actor.cpp
2022-02-10 19:19:50 -08:00
sfc-gh-tclinkenbeard
9bc38ae73e
Make DDTeamCollection::distributorId private
2022-02-10 18:26:06 -08:00
sfc-gh-tclinkenbeard
dcbbee56a0
Update copyright dates
2022-02-09 13:28:40 -08:00
sfc-gh-tclinkenbeard
a2b4fb91d0
Update copyright headers
2022-02-04 13:46:44 -08:00
sfc-gh-tclinkenbeard
6ab4bc0a06
Move all TC*Info classes into TCInfo.h
2022-02-04 10:59:01 -08:00