A.J. Beamon
fd13bc04c8
Update the tenant maps to be keyed by ID
2023-01-23 14:09:12 -08:00
Jon Fu
d2f0de7a36
use int macro
2022-11-30 14:31:01 -08:00
Jon Fu
3674637d37
address code review comments
2022-11-30 13:10:54 -08:00
Jon Fu
6096262597
fix compile errors
2022-11-29 16:59:20 -08:00
Jon Fu
1ad359a39f
add comments and test case
2022-11-29 16:49:04 -08:00
Jon Fu
6f3c05452f
introduce tenant deleteId
2022-11-22 11:54:24 -08:00
Jon Fu
2985b255fa
remove unnecessary redeclaration
2022-11-14 16:39:13 -08:00
Jon Fu
a93eda244f
sscanf on argument parsing
2022-11-14 16:09:31 -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
Jon Fu
098793893e
move hints to correct generator
2022-10-26 14:50:59 -07:00
Jon Fu
f21fcf67ce
initial commit to allow tenant list filtering in metacluster
2022-10-25 12:01:29 -07:00
Jon Fu
461e42bfe1
restructure updater code and add capacity check in metacluster management workload
2022-09-29 16:24:02 -07:00
Jon Fu
9d5879d2f5
fix off-by-1 problem in tenant command hint
2022-09-29 12:47:24 -07:00
Jon Fu
a29b853979
add assigned_cluster to tenant command hints in fdbcli
2022-09-29 12:18:30 -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
A.J. Beamon
97a325adab
Add an fdbcli command to get tenant group metadata
2022-09-22 13:24:21 -07:00
Jon Fu
e91afa15b6
Merge branch 'main' of github.com:apple/foundationdb into metacluster-assigned-cluster
2022-09-22 11:14:27 -07:00
A.J. Beamon
64c8e0e2b1
Convert fdbcli tenant commands to a single command with subcommands. Update the structure of fdbcli tenant tests.
2022-09-21 16:22:58 -07:00
Jon Fu
e3f54dba2f
throw invalid_tenant_configuration and add to metacluster management test
2022-09-14 10:22:51 -07:00
Jon Fu
64a06f6c6b
fix createtenantimpl constructor and make assignedcluster invalid for non-metacluster
2022-09-09 15:14:29 -07:00
Jon Fu
96f2ce0e43
initial commit to support specifying assignedCluster when creating a tenant
2022-09-09 15:03:59 -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
Jon Fu
bceb44f5a1
address code review comments
2022-08-03 12:03:44 -07:00
Jon Fu
d9dc1999c6
metacluster rename before using metacluster operation ctx
2022-07-29 13:43:47 -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
A.J. Beamon
7c6b3fb0b8
Merge branch 'main' into feature-metacluster
2022-07-27 08:55:10 -07:00
Jon Fu
6dbaf46ec8
restructure test workload impl and map
2022-07-26 13:53:04 -07:00
Jon Fu
21309c2af8
Merge branch 'feature-tenant-groups' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-tenant-rename-special-keys
2022-07-26 11:15:56 -07:00
A.J. Beamon
59ccdc35ab
Disallow configuring the same tenant parameter more than once at a time. Made some slight changes to serialization code for tenants.
2022-07-26 09:04:29 -07:00
A.J. Beamon
f2a8af9155
Better API version handling for fdbcli tenant commands
2022-07-26 09:04:29 -07:00
A.J. Beamon
a64693518a
Add support for tenant groups
2022-07-26 09:04:29 -07:00
Jon Fu
84269bac3e
Merge branch 'feature-tenant-groups' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-tenant-rename-special-keys
2022-07-22 16:42:27 -07:00
A.J. Beamon
2b6f349649
Better API version handling for fdbcli tenant commands
2022-07-22 15:37:48 -07:00
Jon Fu
43c7146d86
Merge branch 'feature-tenant-groups' of github.com:sfc-gh-ajbeamon/foundationdb into jfu-tenant-rename-special-keys
2022-07-22 15:21:13 -07:00
A.J. Beamon
b308aa6604
Merge branch 'feature-tenant-groups' into feature-metacluster
2022-07-22 11:38:23 -07:00
A.J. Beamon
237081905d
Add support for tenant groups
2022-07-22 09:27:31 -07:00
A.J. Beamon
17146c484b
Use key-backed types for tenants. Add a tenant state field that will be used in upcoming work. Some other tenant related refactoring.
2022-07-21 20:33:28 -07:00
A.J. Beamon
8f77048e95
Add the ability to configure tenant groups in a metacluster
2022-07-18 11:24:49 -07:00
A.J. Beamon
860d3843cc
Merge remote-tracking branch 'origin/feature-tenant-groups' into feature-metacluster
2022-07-16 19:33:26 -07:00
A.J. Beamon
c08592368f
Add support for tenant groups
2022-07-15 21:18:41 -07:00
A.J. Beamon
0fe6f6ad36
Merge remote-tracking branch 'origin/update-prefix-encoding-in-tenant-metadata-json' into feature-metacluster
...
# Conflicts:
# bindings/python/tests/fdbcli_tests.py
# fdbcli/TenantCommands.actor.cpp
# fdbclient/include/fdbclient/TenantManagement.actor.h
# fdbclient/include/fdbclient/TenantSpecialKeys.actor.h
# fdbserver/workloads/TenantManagementWorkload.actor.cpp
2022-07-14 14:32:29 -07:00
Jon Fu
7f3b51f31a
initial commit to introduce tenant renaming to special keys
2022-07-13 15:59:52 -07:00
A.J. Beamon
91ccdbcb03
Use a more standard encoding in the JSON metadata reported for tenants.
2022-07-13 15:22:19 -07:00
A.J. Beamon
712f40b727
Add support for tenant groups
2022-07-08 15:59:25 -07:00
A.J. Beamon
1519f24f77
Merge branch 'main' into feature-metacluster
2022-07-07 09:35:40 -07:00
Jon Fu
df1f108b78
Merge branch 'main' of github.com:apple/foundationdb into jfu-tenant-rename
2022-07-06 14:10:22 -07:00
A.J. Beamon
2f67328a0c
Update the tenant special keys submodule to support multiple sub-ranges. This will enable future work that allows configuring tenants at the same time as creating them.
2022-06-30 15:03:37 -07:00
Jon Fu
5e7bb0aa21
Merge branch 'main' of github.com:apple/foundationdb into jfu-tenant-rename
2022-06-29 13:20:19 -07:00