Commit Graph

75 Commits

Author SHA1 Message Date
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 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 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
Jon Fu 6dbaf46ec8 restructure test workload impl and map 2022-07-26 13:53:04 -07:00
Jon Fu 0950d82fe5 add documentation and fix merge errors 2022-07-26 11:58:49 -07:00
Nim Wijetunga 5fbebac26c modify test 2022-07-26 11:53:07 -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
Nim Wijetunga 33f236a068 merge 2022-07-26 10:37:26 -07:00
Nim Wijetunga 7cc58cb1af fix pr issues 2022-07-26 10:14:59 -07:00
A.J. Beamon 35fd459002 Some test fixes 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
Nim Wijetunga 26d233c0f8 encryption as a tenant property 2022-07-25 17:19:14 -07:00
Renxuan Wang dc9599f2e9
Get network interfaces ready for https proxy. (#7556)
* Move HTTP from fdbclient/ to fdbrpc/.

* Move md5 and libb64 to contrib/.

* Get network interfaces ready for https proxy.

* Rebase
2022-07-25 17:08:32 -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 077003c4f5 Cleanup tenant tombstones periodically 2022-07-24 18:24:19 -07:00
Jon Fu 1d3a129070 fix compile errors from merge 2022-07-22 16:09:08 -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
Jon Fu 818a9fb057 fix some test logic to account for some missing error handling in special keys and txn case 2022-07-22 13:24:59 -07:00
A.J. Beamon 193a0dbf4f Some test fixes 2022-07-22 12:28:42 -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 c8f3a4c62f Update tenant special keys to track changes to the tenant group index and apply the net result to the tenant group map. Fix a minor bug in the tenant management workload. 2022-07-21 19:36:53 -07:00
A.J. Beamon 338d4fe380 Move the tenant group map to the tenant metadata space and improve support for configuring tenant groups. 2022-07-21 15:10:43 -07:00
Jon Fu 762c01d567 add error check for overlap 2022-07-20 13:43:13 -07:00
A.J. Beamon 978ca7fb6f Fix some merge related issues 2022-07-20 12:56:00 -07:00
A.J. Beamon 279296c29f Merge branch 'tenant-metadata-change' into feature-metacluster
# Conflicts:
#	fdbclient/SystemData.cpp
#	fdbclient/Tenant.cpp
#	fdbclient/include/fdbclient/SystemData.h
#	fdbclient/include/fdbclient/Tenant.h
#	fdbclient/include/fdbclient/TenantManagement.actor.h
#	fdbserver/TenantCache.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	fdbserver/workloads/TenantManagementWorkload.actor.cpp
2022-07-20 09:18:27 -07:00
A.J. Beamon 537ceff8ac Remove the ability to configure a tenant subspace. Rename the prefixes used for tenant metadata. 2022-07-19 14:32:05 -07:00
A.J. Beamon 70bc67ce34 Update tenant assignment to check data cluster availability. Cleanup errors when performing an invalid operation on a non-metacluster and remove redundant function. 2022-07-18 16:15:33 -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 b1d0a144dc Some reorganization of the tenant group index. Add some changes to the tenant management workload that were missing. 2022-07-16 15:08:56 -07:00
A.J. Beamon c08592368f Add support for tenant groups 2022-07-15 21:18:41 -07:00
Jon Fu 8a31fa87a8 add other operations to test workload 2022-07-15 16:22:37 -07:00