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
A.J. Beamon
c8bb15e8ee
Merge pull request #8216 from sfc-gh-ajbeamon/backup-support-for-tenants
...
Include tenant and metacluster metadata in backups
2022-09-28 12:00:24 -07:00
Nim Wijetunga
251afa3610
Set g_simulator fields for restart tests ( #8318 )
...
* fix tests
* fix tenant concurrency
* Set g_simulator variables for restart tests
* fix machine attrition for restarting
2022-09-28 10:09:26 -07:00
A.J. Beamon
fda0d7223d
Update backup to include system key ranges needed for tenants. Run simulated backup tests with tenants.
2022-09-22 10:00:13 -07:00
sfc-gh-tclinkenbeard
82adc1e856
Make g_simulator a pointer
2022-09-15 09:00:33 -07:00
Dennis Zhou
80a0816157
flow: switch from hard coded to ApiVersion like ProtocolVersion ( #8071 )
...
* flow: add ApiVersion to replace hard coding api version
Instead of hard coding api value, let's rely on feature versions akin to
ProtocolVersion.
* ApiVersion: remove use of -1 for latest and use LATEST_VERSION
2022-09-02 09:28:13 +02:00
Jon Fu
fe350f4514
remove debug traces
2022-08-11 14:28:05 -07:00
Jon Fu
0f90ecf6e1
basic breakpoints for debugging and fixes for bugs in concurrent delete + rename operations
2022-08-10 14:05:37 -07:00
Jon Fu
2d3614f830
add check for no cluster capacity in concurrency tenant workload
2022-08-09 13:41:25 -07:00
Jon Fu
74df84f686
Merge branch 'main' of github.com:apple/foundationdb into jfu-metacluster-rename
2022-08-08 17:49:15 -07:00
A.J. Beamon
b33a9da7ce
Don't buggify max tenants per cluster globally; instead buggify it in specific tests
2022-08-06 06:10:45 -07:00
Jon Fu
cc85973957
Merge branch 'main' of github.com:apple/foundationdb into jfu-metacluster-rename
2022-08-05 12:38:43 -07:00
A.J. Beamon
a7653b2859
Fix: when a tenant creation permanently failed on the data cluster and started over, it could incorrectly fail with a tenant already exists error if the subsequent retry successfully committed during a commit_unknown_result error. Also expand the tenant management concurrency workload to include configure operations.
2022-08-05 06:46:46 -07:00
Jon Fu
8da261d28c
add some rename ops to other test workloads
2022-08-04 16:35:44 -07:00
A.J. Beamon
41af66bd4e
Add a tenant consistency check and use it in the various tenant workloads
2022-08-03 13:33:45 -07:00
A.J. Beamon
953bc4252d
Add a metacluster consistency check class and use it in various tenant/metacluster workloads
2022-08-01 14:41:46 -07:00
A.J. Beamon
2eabfe2597
Commit some changes that got left off in the last commit
2022-07-29 11:18:21 -07:00
A.J. Beamon
8b7b6d1d4c
Various cleanup; change some test parameters; add a test for metacluster management operations
2022-07-29 09:24:06 -07:00
A.J. Beamon
e5bf838c83
Fix metacluster register command hints, fix bug in cluster registration on retries, extend the length of the tenant management concurrency test
2022-07-28 21:02:12 -07:00
A.J. Beamon
5db1135ac6
Add MetaclusterOperationContext to make it easier to run multi-transaction operations
2022-07-28 16:44:20 -07:00
A.J. Beamon
cd19f2cdc2
Add metacluster awareness of the tenant count limit
2022-07-28 15:03:38 -07:00
A.J. Beamon
620467a91b
Fix some formatting issues
2022-07-28 13:42:34 -07:00
A.J. Beamon
7090ea9995
Fix a couple bugs in tombstone cleanup and tombstone testing.
2022-07-25 11:52:31 -07:00
A.J. Beamon
de1616a696
Store tenant metadata in the regular key-space in the metacluster
2022-07-15 14:32:22 -07:00
A.J. Beamon
a32cc5218c
Fix some merge issues
2022-07-07 11:55:31 -07:00
A.J. Beamon
e1a93988ef
Merge branch 'main' into feature-metacluster
2022-06-28 14:58:07 -07:00
A.J. Beamon
9f3819752f
Change the command to create a metacluster from using 'configure tenant_mode=management' to 'metacluster create <NAME>'. Distribute this name to all processes in a metacluster. Eliminate the tenant mode entirely from metacluster clusters, instead relying on a metacluster registration key.
2022-06-22 12:15:43 -07:00
A.J. Beamon
986dd67278
Add some basic support for running multiple extra clusters in simulation. Use this to simulate a metacluster in some tests.
2022-06-10 10:08:18 -07:00
A.J. Beamon
eabd43c0fd
Add a workload that creates and deletes tenants simultaneously.
2022-06-07 13:48:12 -07:00