Commit Graph

55 Commits

Author SHA1 Message Date
Xiaoxi Wang e959bdef8d extract startMoveKeysTransaction method 2022-10-15 22:52:42 -07:00
He Liu b52edd8658 Merge branch 'main' of https://github.com/apple/foundationdb into validate-data-consistency 2022-10-10 11:00:05 -07:00
He Liu 1931e3266f Resolve comments. 2022-10-10 10:28:19 -07:00
Xiaoxi Wang 21b2e11bc4 getWorkers from IDDTxnProcessor 2022-10-04 14:57:04 -07:00
Xiaoxi Wang 4cf4ccc089 correct getServerListAndProcessClasses implementation (100k pass) 2022-10-03 22:24:35 -07:00
Xiaoxi Wang 76f2dc8ce0 merge upstream/main 2022-10-02 22:07:42 -07:00
Xiaoxi Wang 1cc46a98f8 solve merge conflicts 2022-09-28 14:34:42 -07:00
Xiaoxi Wang 3578832c69 merge upstream/main 2022-09-28 14:01:50 -07:00
Xiaoxi Wang e476e814b2 merge upstream/main 2022-09-27 10:15:26 -07:00
Xiaoxi Wang 14d73193d5 waitDDTeamInfoPrintSignal, getClusterId, tryUpdateReplicasKeyForDc in IDDTxnProcessor 2022-09-26 23:00:31 -07:00
Xiaoxi Wang d9cc7ff44e merge upstream/main 2022-09-23 14:49:46 -07:00
Xiaoxi Wang 050bf22e1e add comments to test toml and moveKeys to non-const method 2022-09-22 13:11:53 -07:00
Xiaoxi Wang 9358aea097 fix busy loop with correct error handling in valley filler 2022-09-21 14:58:34 -07:00
Xiaoxi Wang f9e0230b86 DDQueue constructor with ITxnProcessor 2022-09-21 10:56:22 -07:00
Xiaoxi Wang 08f4c06450 remove unnecessary creation of transactions; call all cx and transaction methods in DDShardTracker through txnProcessor 2022-09-19 14:41:34 -07:00
Xiaoxi Wang 7dd1d7a029 solve merge problem; enable an empty top k unit tests 2022-09-14 14:13:54 -07:00
Xiaoxi Wang 85f119c13b fix destination team issue 2022-09-14 00:17:00 -07:00
Xiaoxi Wang 46eadd53cf finish getInitialDataDistribution test verification 2022-09-13 22:43:15 -07:00
Xiaoxi Wang bafcacc1eb fix MockDDTxnProcessor::getInitialDataDistribution segment fault in assertion part; IDDTxnProcessorApiWorkload get mock initData finish 2022-09-13 14:39:12 -07:00
He Liu 958b28497e Merge branch 'main' of https://github.com/apple/foundationdb into validate-data-consistency 2022-09-13 13:55:01 -07:00
He Liu 18cdef43be Cleanup. 2022-09-13 13:52:08 -07:00
He Liu ebabe916f1 Cleanup. 2022-09-13 09:28:41 -07:00
Xiaoxi Wang 94b81d9125 mark MockDDTxnProcessor::removeKeysFromFailedServer as unreachable() 2022-09-12 13:03:45 -07:00
He Liu e6df139204 Get sources servers by DC in DDAuditRange. 2022-09-12 11:04:23 -07:00
He Liu ad11c6e82d Cleanup. 2022-09-06 19:00:09 -07:00
He Liu 6f4d09f947 Replace Reference<> with std::shared_ptr<>. 2022-09-05 12:45:14 -07:00
Xiaoxi Wang f83e2251d6 add shard status inference comments; finish ShardsAffectedByTeamFailure::removeFailedServerForRange (no unit test yet) 2022-09-01 09:29:16 -07:00
Xiaoxi Wang fbb6016c40 pass /MockGlobalState/initialAsEmptyDatabaseMGS 2022-08-31 22:26:10 -07:00
Xiaoxi Wang d192a5630c add comment to ShardsAffectedByTeamFailure 2022-08-30 14:36:14 -07:00
Xiaoxi Wang 0ba37ca0c4 add counterpart of system keyspace 2022-08-30 10:59:14 -07:00
Xiaoxi Wang 8544cf48d4 implement DDMockTxnProcessor::getInitialDataDistribution (compiled) 2022-08-29 14:59:40 -07:00
Xiaoxi Wang 5c2b846fbd solve conflicts in upstream/main 2022-08-19 15:36:17 -07:00
Xiaoxi Wang 1aeb7b2953 call removeStorageServer and removeKeysFromFailedServer from txnProcessor 2022-08-18 11:44:27 -07:00
Xiaoxi Wang 52e7825179 move DataDistributionEnabled to DDTxnProcessor 2022-08-18 10:23:33 -07:00
Xiaoxi Wang c9f94264f0 merge upstream/main 2022-08-15 13:30:38 -07:00
Xiaoxi Wang d26e62ea68 pollMoveKeysLock method to DDTxnProcessor 2022-08-15 12:09:16 -07:00
Xiaoxi Wang 806821ef30 merge upstream/main 2022-08-15 10:46:38 -07:00
He Liu fa418fd784
Change SHARD_ENCODE_LOCATION_METADATA to a server knob. (#7770)
Co-authored-by: He Liu <heliu@apple.com>
2022-08-03 13:51:40 -07:00
Xiaoxi Wang 1eb8b8ba6e getInitialDataDistribution; simplify mgs keyServers 2022-07-25 23:30:48 -07:00
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 d3686143a1 merge upstream/main 2022-07-12 14:28:49 -07:00
Xiaoxi Wang bf98dc2a2b move waitDataDistributorEnabled to txnProcessor 2022-07-12 11:25:59 -07:00
Xiaoxi Wang 7e067ee4de move getInitialDataDistribution to DDTxnProcessor 2022-07-11 21:54:47 -07:00
Xiaoxi Wang 447eaa1d81 move updateReplicaKey to txnProcessor 2022-07-11 11:16:17 -07:00
Xiaoxi Wang 9fe76ecf21 format 2022-07-08 16:34:55 -07:00
Xiaoxi Wang b48b1e93f9 remove header dependency; move getDatabaseConfiguration to txnProcessor 2022-07-08 16:01:23 -07:00
Xiaoxi Wang f5a81154ef move takeMoveKeysLock to DDTxnProcessor 2022-07-08 14:11:31 -07:00
Xiaoxi Wang a5054b2beb move getServerListAndProcessClasses to NativeAPI 2022-06-23 15:28:45 -07:00
Xiaoxi Wang ef0f415e3d add option; change to shared_ptr 2022-06-13 13:55:48 -07:00
Xiaoxi Wang 1de6c09307 use struct instead of tuple 2022-06-13 11:27:50 -07:00