Nim Wijetunga
2745168d72
Add Testing for LastTenantModification Field ( #8509 )
...
* add testing
* address pr comments
2022-10-20 13:38:38 -07: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
Jon Fu
e342a9db43
Merge branch 'main' of github.com:apple/foundationdb into metacluster-assigned-cluster
2022-09-22 14:39:27 -07:00
A.J. Beamon
97a325adab
Add an fdbcli command to get tenant group metadata
2022-09-22 13:24:21 -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
bfd2d138f7
set assignedcluster in tenantmanagement workload
2022-09-09 16:10:42 -07:00
A.J. Beamon
726d5215a0
Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys ( #8108 )
...
* Remove API 720 guards for tenants (experimental feature) and the cluster ID special keys (no need to guard)
* Enable the relaxed special key access in transactions that need to use special key-space APIs introduced in 7.2
2022-09-08 17:22:36 +02: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
8177e3d883
remove error checks that should not occur in test workload
2022-08-22 11:12:43 -07:00
Jon Fu
2836852a7f
Merge branch 'main' of github.com:apple/foundationdb into jfu-metacluster-rename
2022-08-16 16:14:28 -07:00
Jingyu Zhou
8fb6d59e94
Use error_code_grv_proxy_memory_limit_exceeded
...
instead of error_code_proxy_memory_limit_exceeded
2022-08-12 11:36:17 -07:00
Jingyu Zhou
f912a74ec1
Fix TenantManagementWorkload.actor.cpp
2022-08-12 11:13:32 -07:00
Jingyu Zhou
e5da35d7bf
Fix TenantManagementWorkload with GRV errors
2022-08-12 11:13:32 -07:00
Jon Fu
fe350f4514
remove debug traces
2022-08-11 14:28:05 -07:00
Jon Fu
c1ce4b361b
address code review comments
2022-08-11 14:25:14 -07:00
Jon Fu
ea69fac3d4
account for cluster capacity error in tenant management workload
2022-08-09 13:28:26 -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
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
Jon Fu
947d584b7e
Merge branch 'feature-metacluster' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-metacluster-rename
2022-08-04 14:52:49 -07:00
Jon Fu
b3e129ac63
fix problem with commit_unknown_result on data cluster for metacluster rename
2022-08-04 14:51:09 -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
Jon Fu
0324600b3f
Merge branch 'feature-metacluster' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-metacluster-rename
2022-08-03 17:31:43 -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
Jon Fu
bceb44f5a1
address code review comments
2022-08-03 12:03:44 -07:00
Jon Fu
1fe1d04a6e
Merge branch 'feature-metacluster' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-metacluster-rename
2022-08-02 14:46:20 -07:00
Jon Fu
9805cef57c
add debug messages for correctness checking
2022-08-02 14:35:38 -07:00
Jon Fu
d4543e9c5f
fix double commit
2022-08-01 16:04:19 -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
Jon Fu
aee48383b5
initial addition of metacluster rename to tenant workload
2022-08-01 14:09:51 -07:00
A.J. Beamon
8e50fe0cfc
Fix a couple test bugs
2022-07-29 21:54:41 -07:00
A.J. Beamon
a69164d160
Merge branch 'main' into feature-metacluster
2022-07-29 11:53:06 -07:00
Nim Wijetunga
3e45b6657c
Merge pull request #7714 from sfc-gh-nwijetunga/nim/tenant-encryption-property
...
Encryption as a tenant property
2022-07-29 11:30:19 -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
cd19f2cdc2
Add metacluster awareness of the tenant count limit
2022-07-28 15:03:38 -07:00
A.J. Beamon
7f53b340f5
Merge branch 'main' into feature-metacluster
...
# Conflicts:
# bindings/python/tests/fdbcli_tests.py
# fdbcli/TenantCommands.actor.cpp
# fdbclient/ClientKnobs.cpp
# fdbclient/include/fdbclient/ClientKnobs.h
# fdbclient/include/fdbclient/Tenant.h
# fdbserver/BlobManager.actor.cpp
# fdbserver/BlobWorker.actor.cpp
# fdbserver/TenantCache.actor.cpp
# fdbserver/storageserver.actor.cpp
# fdbserver/workloads/TenantManagementWorkload.actor.cpp
# flow/include/flow/error_definitions.h
2022-07-28 11:43:21 -07:00
Nim Wijetunga
6181d89767
fix test
2022-07-27 13:36:55 -07:00
Nim Wijetunga
2cd73242de
fix merge conflict
2022-07-27 10:58:41 -07:00
Nim Wijetunga
6b525ec053
format
2022-07-27 10:55:58 -07:00
Jon Fu
af7a644037
Merge branch 'main' of github.com:apple/foundationdb into jfu-tenant-rename-special-keys
2022-07-27 09:37:38 -07:00
A.J. Beamon
7c6b3fb0b8
Merge branch 'main' into feature-metacluster
2022-07-27 08:55:10 -07:00
A.J. Beamon
d39c0b773a
Add a limit to the number of tenants that can be created in a cluster
2022-07-27 08:21:03 -07:00
Jon Fu
f0687237fb
update comments
2022-07-26 15:41:40 -07:00
Jon Fu
a3b56ebadc
reject overlap in transaction case
2022-07-26 15:04:18 -07:00
Jon Fu
6ff90c83b1
remove extra parameters
2022-07-26 13:58:19 -07:00