A.J. Beamon
fd13bc04c8
Update the tenant maps to be keyed by ID
2023-01-23 14:09:12 -08:00
Xiaoxi Wang
bbcb3cc018
extract KeyBackedConfig, StorageWiggleData class; solve template resolution problem; solve MV txn and native api conflict by splitting RunTransaction file
2023-01-02 23:34:39 -08:00
Jon Fu
2f53c6ebd8
remove extra test check
2022-11-15 10:32:19 -08:00
Jon Fu
0d4915f5ea
extra error check case
2022-11-14 09:57:27 -08:00
Jon Fu
93fb151e6c
add fdbcli error handling, remove invalid state and change some offset logic
2022-11-10 14:29:01 -08:00
Jon Fu
8ef0411b32
address code review comments and introduce offset parameter
2022-11-03 11:39:39 -07:00
Markus Pilman
da5b5a354e
Fix failure injection naming
2022-10-14 11:28:03 -06:00
Markus Pilman
fb1390ef3d
reformat code
2022-10-14 08:47:56 -06:00
Markus Pilman
49f0cf5ab0
Force name and description of workloads to be the same
2022-10-13 20:53:48 -06:00
Jon Fu
2fe1d19e95
Merge branch 'main' of github.com:apple/foundationdb into metacluster-status
2022-10-05 11:48:04 -07:00
Jon Fu
461e42bfe1
restructure updater code and add capacity check in metacluster management workload
2022-09-29 16:24:02 -07:00
A.J. Beamon
93d08b55ba
Merge pull request #8350 from sfc-gh-ajbeamon/fix-metacluster-workload-heap-use-after-free
...
Fix heap use after free in metacluster management workload
2022-09-29 13:38:32 -07:00
A.J. Beamon
5d075d3aff
Fix heap use after free
2022-09-29 12:34:36 -07: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
A.J. Beamon
b0c3534463
Handle invalid tenant configuration when a group and assigned cluster are specified for a tenant and the assigned cluster doesn't match the group's cluster
2022-09-26 14:32:26 -07:00
A.J. Beamon
05615107da
Minor refactoring to remove throw internal_error lines
2022-09-26 13:14:24 -07:00
A.J. Beamon
093db25d11
Add tenant group support to the tenant management workload and test configure and rename tenant operations. Fix a few error types picked up by the test.
2022-09-26 13:14:24 -07:00
Jon Fu
1d00ca3261
address code review comments
2022-09-26 10:37:58 -07:00
Jon Fu
76543cbd8a
remove debug trace
2022-09-26 10:02:16 -07:00
Jon Fu
6b2c932e75
modify tests to work with error case of changing preferred cluster on retries
2022-09-26 09:59:06 -07:00
Jon Fu
2eea93f170
move cluster assignment into loop to test error case
2022-09-22 14:43:08 -07:00
Jon Fu
e342a9db43
Merge branch 'main' of github.com:apple/foundationdb into metacluster-assigned-cluster
2022-09-22 14:39:27 -07:00
Jon Fu
8a6e68cf63
adjust check if existing entry cluster does not match
2022-09-22 14:39:03 -07:00
Nim Wijetunga
37b93a6232
fix tests ( #8286 )
2022-09-22 11:34:06 -07:00
Jon Fu
b559be1184
assign cluster outside of retry loop
2022-09-22 11:22:41 -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
Jon Fu
4bbc2ad597
Merge branch 'main' of github.com:apple/foundationdb into metacluster-assigned-cluster
2022-09-20 09:34:06 -07:00
sfc-gh-tclinkenbeard
82adc1e856
Make g_simulator a pointer
2022-09-15 09:00:33 -07:00
Jon Fu
51b9861354
check data cluster entry for capacity and account for different thrown errors
2022-09-14 12:57:46 -07:00
Jon Fu
e3f54dba2f
throw invalid_tenant_configuration and add to metacluster management test
2022-09-14 10:22:51 -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
A.J. Beamon
1569f033c8
Reduce the number of extra databases to prevent using too many files
2022-08-08 12:47:35 -07:00
A.J. Beamon
91ccb82605
Fix: Decommissioning a metacluster could fail if some global state fields were set in the metacluster. Update the metacluster management workload to decommission the metacluster at the end.
2022-08-08 12:47:35 -07:00
Markus Pilman
956326dd5f
Merge pull request #7804 from sfc-gh-ajbeamon/move-max-tenants-buggify
...
Don't buggify max tenants per cluster globally; instead buggify it in specific tests
2022-08-08 10:32:02 -06:00
Vaidas Gasiunas
79571dd2b4
Testing upgrades to a future version of FDB ( #7780 )
...
* Enable configuring the next future protocol version as the current protocol version in FDB client, fdbserver, and fdbcli
* Auto format python files used in upgrade tests
* Add a test for upgrading to a future FDB version
* Emphasize that the options for using future protocol version are intended for test purposes only
* Make the global variable for current protocol version visible only locally
* Refactirng to avoid using currentProtocolVersion() in static intialization
* Update go bindings
2022-08-08 17:29:49 +02: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
A.J. Beamon
48f149a62e
Fix a small test bug and remove some delays that don't seem to be needed anymore
2022-08-04 05:57:07 -07:00
A.J. Beamon
fbe1a4a69a
Use multiple databases in the metacluster managemen test. Fix a test bug as well as some issues with setting up multiple extra databases.
2022-08-03 19:10:34 -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
8e777a6330
Detect and handle inverted ranges in the get cluster list test. Remove some unused code.
2022-08-03 09:09:36 -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
8e50fe0cfc
Fix a couple test bugs
2022-07-29 21:54:41 -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