17 Commits

Author SHA1 Message Date
Xiaoge Su
0a60142160 Extract ProcessInfo, MachineInfo, KillType out from ISimulator 2023-01-24 14:48:42 -08:00
Zhe Wu
7e55522cb0 Fix simulation failure with the new MoveKeysParams 2022-11-29 13:29:02 -08:00
Zhe Wu
3c9130e6d1 Make startMoveShards take a list of key ranges 2022-11-29 13:29:02 -08:00
Markus Pilman
643b93370a Disable attrition for some additional workloads 2022-11-01 13:36:29 -06:00
Markus Pilman
da5b5a354e Fix failure injection naming 2022-10-14 11:28:03 -06:00
Markus Pilman
49f0cf5ab0 Force name and description of workloads to be the same 2022-10-13 20:53:48 -06:00
Hui Liu
9fd16bd38e disable MoveKeysWorkload for a few tests that need to manipulate dd 2022-09-23 08:56:27 -07:00
sfc-gh-tclinkenbeard
82adc1e856 Make g_simulator a pointer 2022-09-15 09:00:33 -07:00
Xiaoxi Wang
949b1c1af9 Add MoveKeysParams struct; use txnProcessor->moveKeys() 2022-09-12 15:40:18 -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
Jingyu Zhou
23b51e34fd Fix spurious test failure
The timed_out error, if happens, could cause the test to fail, even though
there is nothing wrong with the database.
2022-04-26 09:40:43 -07:00
A.J. Beamon
19d78cf2a3 When clearing the database between tests, check that clearing the tenant left the entire normal key-space empty. Update the configuration of some tests. Disable a special key-space test that is invoking broken behavior. 2022-04-14 11:39:02 -07:00
sfc-gh-tclinkenbeard
a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
A.J. Beamon
4b521b38cb Update various workloads to specify that they are expecting raw access. A couple other raw access related fixes. Disable tenant tests in backup and DR tests for now. 2022-03-17 12:10:18 -07:00
He Liu
a0f62e873e Use ErrorOr to indicate an error. 2021-10-15 14:58:26 -07:00
He Liu
8e7a4c587e Merge branch 'master' of https://github.com/apple/foundationdb into clean-sim-test-data-loss 2021-10-15 14:22:08 -07:00
He Liu
dbfeb06c97 Reproduced user data loss incident, and tested the improved exclude tool
can fix the system metadata.
2021-10-14 14:08:39 -07:00