Commit Graph

118 Commits

Author SHA1 Message Date
Markus Pilman 1de37afd52
Make TEST macros C++ only (#7558)
* proof of concept

* use code-probe instead of test

* code probe working on gcc

* code probe implemented

* renamed TestProbe to CodeProbe

* fixed refactoring typo

* support filtered output

* print probes at end of simulation

* fix missed probes print

* fix deduplication

* Fix refactoring issues

* revert bad refactor

* make sure file paths are relative

* fix more wrong refactor changes
2022-07-19 13:15:51 -07:00
Xiaoxi Wang f5a81154ef move takeMoveKeysLock to DDTxnProcessor 2022-07-08 14:11:31 -07:00
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
Xiaoxi Wang a5054b2beb move getServerListAndProcessClasses to NativeAPI 2022-06-23 15:28:45 -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 6bb4e341f9
Merge pull request #7110 from sfc-gh-xwang/features/ppw-pause-state
Adding paused/running wiggling status to status json and also the last running/paused timestamp
2022-06-16 14:27:18 -07:00
Xiaoxi Wang a311cc28cc solve some comments 2022-06-16 11:07:21 -07:00
Bharadwaj V.R 418205eeab Use bindings for brevity in DDTC UT and a few places where server_info is iterated over 2022-06-06 11:56:48 -07:00
Bharadwaj V.R 083fe01022 More uses of structured bindings to avoid use of .first and .second in pairs 2022-06-02 23:07:23 -07:00
Xiaoxi Wang fec8a47a5d makeReference 2022-05-23 16:50:04 -07:00
Xiaoxi Wang 73624bcd2a Merge remote-tracking branch 'upstream/main' into readaware 2022-05-23 11:17:38 -07:00
Xiaoxi Wang 54e56af3db solve some review comments 2022-05-23 11:04:37 -07:00
Xiaoxi Wang 909a7a92a1 rename preferLowerDiskUtil 2022-05-22 23:32:13 -07:00
Xiaoxi Wang 7541fb9a25 address some review comments 2022-05-18 13:39:07 -07:00
Bharadwaj V.R 30922268d7 Minor readability improvement (I believe) to DD code; mostly, replacing .first, .second of pairs with better names through bindings) 2022-05-13 13:03:00 -07:00
Xiaoxi Wang 2717cee1f9 Merge branch 'features/read-skew' into readaware 2022-05-09 16:12:09 -07:00
Xiaoxi Wang 487a81b62c add lastStateChange 2022-05-08 23:05:43 -07:00
Xiaoxi Wang 13bbd062c4 add storage wiggler state 2022-05-08 22:06:11 -07:00
Xiaoxi Wang 03607675e8 refactor GetTeamRequest 2022-05-04 17:42:49 -07:00
Xiaoxi Wang a3d0b005dc reset several method use getShardMetrics 2022-05-04 00:00:03 -07:00
Xiaoxi Wang 69985ba251 Merge branch 'main' of https://github.com/apple/foundationdb into readaware 2022-05-02 10:53:22 -07:00
Xiaoxi Wang 9a521ad36f Merge branch 'main' of https://github.com/apple/foundationdb into ppw-store 2022-05-02 10:48:29 -07:00
A.J. Beamon 5eedcafcfb Mark a team as unhealthy when it is removed 2022-04-29 12:40:41 -07:00
Xiaoxi Wang 4724a099e2 format code 2022-04-27 20:42:31 -07:00
Xiaoxi Wang 101b6717e3 remove TSS storage metadata part 2022-04-27 16:22:13 -07:00
Xiaoxi Wang 1f046e4be5 fix excludedServer overwritten bug; change some trace event field 2022-04-27 13:05:02 -07:00
Xiaoxi Wang 2ede89b623 fix getUint64 bug 2022-04-25 14:46:50 -07:00
Xiaoxi Wang e8477e15ce Merge remote-tracking branch 'upstream/main' into readaware 2022-04-25 09:55:52 -07:00
Xiaoxi Wang adeaf52db3
Merge branch 'apple:main' into ppw-store 2022-04-25 09:40:45 -07:00
Evan Tschannen a40c8f231a fix: perpetual wiggle would not react to a pause that happened while starting the wiggle 2022-04-24 20:35:02 -07:00
Xiaoxi Wang 99d2335220 add storeType to metadata; updateStorageMetadata; combine storeTypeTracker 2022-04-23 00:03:57 -07:00
Xiaoxi Wang 587cd7371d Merge branch 'main' of https://github.com/apple/foundationdb into readaware 2022-04-22 14:44:42 -07:00
Sreenath Bodagala 706164d8ae - Address seg fault in "storageRecruiter" actor 2022-04-22 12:38:59 -07:00
Xiaoxi Wang 04311d001e topK shard random selection 2022-04-21 22:37:16 -07:00
Xiaoxi Wang a7a9de781e update unittests 2022-04-16 22:51:55 -07:00
Xiaoxi Wang d58f918bba update unittests; add more information in workload 2022-04-14 12:02:27 -07:00
Xiaoxi Wang 8d3f851495 merge upstream/mainA 2022-04-12 17:03:09 -07:00
Bharadwaj V.R 129a7b5daf Use boolean-param for GetTeamRequest params 2022-04-11 13:27:08 -07:00
Xiaoxi Wang aba9d85560 merge main 2022-04-06 09:57:52 -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 2829415f1f update unit test 2022-03-28 23:52:40 -07:00
Xiaoxi Wang b15f0eb2b0 add ReadInFlight 2022-03-28 14:20:07 -07:00
Steve Atherton 31812d7ad3 Fix aggressive storage migration mode to behave as documented and migrates all storages at once. 2022-03-28 09:22:24 -07:00
Xiaoxi Wang 9799b3dc99 change teamSorter details 2022-03-24 22:20:58 -07:00
Xiaoxi Wang d93b57dd88 conflict solving 2022-03-24 20:45:51 -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 cd5ad654ae unittest 2022-03-24 16:18:18 -07:00
Xiaoxi Wang b811a62b65 fix teamSorter usage bug 2022-03-24 13:16:10 -07:00
Xiaoxi Wang e6893ba0b6 change unit test to cover edge case 2022-03-24 13:09:39 -07:00