Markus Pilman
a0e347c7ba
Merge remote-tracking branch 'origin/main' into features/tenant-lock-fdbcli
2023-02-27 09:09:20 -07:00
A.J. Beamon
217b52103c
Clean up some code for the tenant configure command; Add a second test with an invalid configuration string, this time with an unknown token and a prior valid configuration string
2023-02-25 13:08:02 -08:00
A.J. Beamon
8c3ee768a2
Add an option to allow exceeding the tenant group capacity limit when changing tenant configuration
2023-02-24 21:01:36 -08:00
Markus Pilman
01fab190b3
add arrayGenerator for w|rw option
2023-02-24 12:01:43 -07:00
Markus Pilman
e0df60bd92
Apply suggestions from code review
...
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2023-02-24 11:33:29 -07:00
Markus Pilman
6c15506c36
Fixed tests
2023-02-24 11:32:37 -07:00
Markus Pilman
193e517cc4
Address review comments and move lock ID into TenantMapEntry
2023-02-23 14:25:36 -07:00
Markus Pilman
46dd75ed06
Fix compilation issues after merging with main
2023-02-22 16:51:16 -07:00
Markus Pilman
230170a431
Merge remote-tracking branch 'sfc/features/tenant-lock-fdbcli' into features/tenant-lock-fdbcli
2023-02-22 16:29:28 -07:00
Markus Pilman
7d7ca0bb34
Apply suggestions from code review
...
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2023-02-22 16:28:53 -07:00
Markus Pilman
b1762916fb
Merge remote-tracking branch 'origin/main' into features/tenant-lock-fdbcli
2023-02-22 16:27:24 -07:00
Jon Fu
37fa579587
fix compile issues
2023-02-21 11:46:11 -08:00
Jon Fu
2d74d10a91
use MetaclusterAPI namespace over TenantAPI for TenantState
2023-02-21 11:33:36 -08:00
Jon Fu
ab15478ef9
Merge branch 'main' of github.com:apple/foundationdb into split-tenant-metadata
2023-02-16 10:04:07 -08:00
Markus Pilman
b79885d5b9
Merge remote-tracking branch 'origin/main' into features/tenant-lock-fdbcli
...
# Conflicts:
# fdbserver/ApplyMetadataMutation.cpp
2023-02-15 18:37:18 +01:00
A.J. Beamon
7284e691fb
Fix a few minor restore bugs and add a dry-run mode. Some improvements to the fdbcli output.
2023-02-14 12:28:55 -08:00
Markus Pilman
32684c802b
Add tenant lock commands and fdcli tests
2023-02-14 16:05:21 +01:00
Markus Pilman
bba782cc56
Add command
2023-02-13 18:21:55 +01:00
Jon Fu
d981d5e9c2
initial commit to separate metadata
2023-02-08 10:44:26 -08:00
Xiaoxi Wang
e383ea2138
push down offset calculation to listTenants; optimize fdbcli tenant list implementation
2023-01-31 14:42:38 -08:00
Xiaoxi Wang
851b6e7e56
rename APIs
2023-01-31 11:16:17 -08:00
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