Commit Graph

1465 Commits

Author SHA1 Message Date
A.J. Beamon fc68cdf45f
Merge pull request #6693 from sfc-gh-ajbeamon/python-tenant-management-module
Move Python tenant management to its own module
2022-03-30 12:03:08 -07:00
Xiaoxi Wang e644c6da49
Merge pull request #6716 from sfc-gh-xwang/memory-test-ide
fix cmake error after adding memory test when OPEN_FOR_IDE=ON
2022-03-29 14:23:16 -07:00
Andrew Noyes d727e7648e Fix a few memory issues found by ASAN 2022-03-29 12:39:12 -07:00
Xiaoxi Wang bc3e5cdaa1 fix cmake error when OPEN_FOR_IDE=ON 2022-03-29 12:02:56 -07:00
Josh Slocum 721c64b698 Adding Blob Granule Client C Unit Tests 2022-03-28 15:42:33 -05:00
A.J. Beamon 3cf0ea5950
Merge pull request #6697 from sfc-gh-ajbeamon/fix-tenant-map-range-read-bug
Fix bug in tenant map range reads when the end key is outside of the tenant map range
2022-03-28 10:55:33 -07:00
Steve Atherton 478ff1eb76
Merge pull request #6652 from sfc-gh-anoyes/anoyes/fast-alloc
Move most usage of FastAlloc to malloc
2022-03-26 15:46:05 -07:00
A.J. Beamon 2475c4e2d6 Fix various non-compiling code errors. 2022-03-25 15:56:49 -07:00
A.J. Beamon 48447c2788 Add the tenant management module to CMakeLists. Don't test tenants before API version 710. 2022-03-25 14:35:16 -07:00
A.J. Beamon e8a38bb048 Fix bug in tenant map range reads when the end key is outside of the tenant map range. 2022-03-25 14:24:25 -07:00
A.J. Beamon b4cfcc10d3 Move Python tenant management to its own module 2022-03-25 11:36:35 -07:00
Josh Slocum bf3da72637 Merge branch 'main' into bg_client_bindings_improvements 2022-03-24 15:56:30 -05:00
Josh Slocum b42c49ca0a Adding full file length for future-proofing 2022-03-24 15:56:03 -05:00
Josh Slocum b92c6ea92c granule parallelism, metrics, and other improvements to bg client bindings 2022-03-24 13:44:09 -05:00
A.J. Beamon 77ce0f4fc7 Add a unit test in Python to exercise some of the tenant code. Add some comments to the allocate and delete tenant implementations. 2022-03-23 15:50:06 -07:00
A.J. Beamon 8b92d3fccd Use special keys to create/delete tenants 2022-03-23 14:46:56 -07:00
Jon Fu 8e848f16df Support tuples in python tenants 2022-03-23 14:46:55 -07:00
A.J. Beamon ce03f5783d Add tenant support to Python 2022-03-23 14:46:55 -07:00
A.J. Beamon ca653c77ee
Tenant binding tester support (#6642)
* Add binding tester support for tenants

* Configure tenant_mode=optional_experimental in the binding tester

* Use the special key-space to delete tenants in between binding tester runs.

* Separate tenant tester spec into its own file.
2022-03-23 13:57:45 -07:00
Andrew Noyes 07eae17068 Add fdb_c_client_memory_test 2022-03-22 14:13:59 -07:00
sfc-gh-tclinkenbeard a71099471b Update copyright header dates 2022-03-21 13:36:23 -07:00
A.J. Beamon fd81ef99c0
Merge pull request #6561 from sfc-gh-ajbeamon/fdb-tenant-fdbcli
Add fdbcli support for tenants
2022-03-21 11:26:10 -07:00
A.J. Beamon 3f7365c433 Remove test debugging lines 2022-03-21 10:23:22 -07:00
A.J. Beamon a23add6bc4 Add fdbcli test for tenants. Add documentation for new fdbcli tenant commands. Various output cleanup. Fix limit parsing bug in listtenants command. Update gettenant output format. 2022-03-17 12:10:39 -07:00
A.J. Beamon ee70837970 Remove some debugging lines, change simulated default cluster frequency, and use a different mechanism to disable tenants for the change feed test. 2022-03-17 12:10:19 -07:00
A.J. Beamon 92c1044a3d Fix formatting 2022-03-17 12:10:19 -07:00
A.J. Beamon 513e8887dd Add a new C unit test that uses tenants. Fix simulation issue where resetting a transaction could cause in-flight operations to pick up the simulated default tenant for the next retry. Use the new list tenant JSON format in the tenant management test. Fix missing raw_access option in special key space correctness test. 2022-03-17 12:10:19 -07:00
Vaidas Gasiunas f4bb82ad56
Merge pull request #6433 from sfc-gh-vgasiunas/vgasiunas-system-tester
A framework for C API tests
2022-03-16 10:49:52 +01:00
A.J. Beamon e8077b65e1
Merge pull request #6559 from sfc-gh-ajbeamon/fdb-tenant-client
Add client support for tenants
2022-03-15 12:40:17 -07:00
Jingyu Zhou e89ee7d5a0
Merge pull request #6589 from sfc-gh-tclinkenbeard/fix-typos
Fix typos
2022-03-15 10:10:23 -07:00
A.J. Beamon 502209229c Update generated.go 2022-03-15 09:23:30 -07:00
A.J. Beamon 68069c9784 Undo some unused changes. Fix tenant cache eviction. 2022-03-15 09:23:30 -07:00
A.J. Beamon 8bc2b283e1 Create a special keys API to create, delete, and read tenants. Remove the C API to create/delete tenants. 2022-03-15 09:23:30 -07:00
A.J. Beamon c89b1e3537 Use TenantName type instead of StringRef in various places. Add a function on transactions to get the tenant name being used for the transaction. 2022-03-15 09:21:27 -07:00
A.J. Beamon c635dcd3ad Add tenant support in the FDB native client 2022-03-15 09:21:27 -07:00
Vaidas Gasiunas 1a1c157246 ApiTester: address a thread sanitizer issue 2022-03-15 14:55:35 +01:00
sfc-gh-tclinkenbeard baec03090e Fix "guarantee" misspelling 2022-03-14 16:33:09 -07:00
Trevor Clinkenbeard 6a28bddd35
Fix file names in copyright headers (#6578) 2022-03-14 13:24:25 -07:00
Vaidas Gasiunas 09bb37ce3e ApiTester: retry a transaction after all futures are ready 2022-03-13 21:37:46 +01:00
sfc-gh-tclinkenbeard 8dcac2f76d Fix typos 2022-03-13 10:02:11 -03:00
Vaidas Gasiunas 8ba3c107ff ApiTester: cancel transaction instead of deleting to avoid crashes when it is accessed by pending callbacks 2022-03-12 14:12:37 +01:00
Vaidas Gasiunas 3f2c9e5ff8 ApiTester: Pass future vector per copy to continueAfterAll to avoid race conditions in error handing path 2022-03-11 18:00:31 +01:00
Vaidas Gasiunas a9ee2b99e2 ApiTester: fix boost target for sanitizer builds 2022-03-10 19:30:22 +01:00
Vaidas Gasiunas bb7d26a6eb Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester 2022-03-10 19:13:54 +01:00
Vaidas Gasiunas 9e52456eeb ApiTester: Test cancelling transaction with pending futures; Refactor transaction executor to improve concurrency handing and memory management 2022-03-10 19:13:23 +01:00
Tao Lin e2c7c30faf
GetMappedRange support serializable & check RYW & continuation (#6181) 2022-03-10 10:05:44 -08:00
Vaidas Gasiunas bd0bf1cfc2 ApiTester: Address concurrency issues in the workload management 2022-03-09 14:38:07 +01:00
Vaidas Gasiunas 8d2c3a4773 ApiTester: Use thread-local random generators 2022-03-09 13:28:12 +01:00
A.J. Beamon 3ae98189af Server processes send unknown_tenant responses back to clients, which is meant to be retried after updating the tenant cache. Fix bug where key selectors could be truncated after applying the tenant prefix. 2022-03-06 21:54:21 -08:00
Jingyu Zhou 1a5bf25b5c Update code base to use fmt 8.1.1 2022-03-04 15:52:06 -08:00