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
Andrew Noyes
2bd2ddd779
Fix FastAlloc thread cleanup on OSX ( #6485 )
...
* Use ThreadData constructor and destructor
Instead of pthread api
* Make threadData a function static thread local variable
* Fix linux build
2022-03-04 12:49:40 -08:00
Vaidas Gasiunas
892538e233
ApiTester: Adding some comments to the headers
2022-03-04 20:04:17 +01:00
Vaidas Gasiunas
1e75ffd880
ApiTester: Options to run each transaction in new database & to execute callbacks on external threads
2022-03-04 18:34:36 +01:00
A.J. Beamon
cdebda35ab
Merge pull request #5725 from sfc-gh-jfu/jfu-grv-cache
...
Add transaction option for clients to use cached read versions
2022-03-04 09:17:27 -08:00
Vaidas Gasiunas
20c1e893c7
ApiTester: fix build dependencies
2022-03-04 17:22:30 +01:00
Vaidas Gasiunas
ef96231db0
Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester
2022-03-04 16:25:18 +01:00
Vaidas Gasiunas
b8386f15d6
ApiTester: configuration for ApiCorrectness workload; Better error handing and reporting
2022-03-04 16:22:49 +01:00
Andrew Noyes
0ff13c1bb6
Allow for mako tmp directory to already exist ( #6494 )
2022-03-03 18:07:29 -08:00
Vaidas Gasiunas
5d15a2d623
ApiTester: Loading test configuration from files, calling from ctest
2022-03-03 15:01:05 +01:00
Andrew Noyes
9a45df8e6c
Change fdb_c's dep on fdbclient to be private ( #6466 )
...
That way transitive dependencies (e.g. libfdb_java.so) don't include
unnecessary fdbclient code. Related: #6455
2022-03-01 18:08:50 -08:00
Vaidas Gasiunas
9f520ae8eb
ApiTester: testing clear & clearRange
2022-03-01 20:58:52 +01:00
Vaidas Gasiunas
e3de8c6847
ApiTester: Prepopulating database; commit-read operation for testing GRV correctness
2022-03-01 18:33:46 +01:00
Renxuan Wang
fa2eee8279
Use PRId64 and PRIu64 to replace lld and llu.
...
This fixes https://github.com/apple/foundationdb/pull/6148#issuecomment-1054575608 .
2022-02-28 21:30:14 -08:00
Vaidas Gasiunas
328c5dad28
Merge remote-tracking branch 'apple/main' into vgasiunas-system-tester
2022-02-28 20:00:55 +01:00
Vaidas Gasiunas
e89eba3b15
ApiTester: Apply client knob settings
2022-02-28 20:00:27 +01:00
Vaidas Gasiunas
99f210e198
ApiTester: Buggify option; Fixing transaction executor in error paths
2022-02-28 19:01:31 +01:00
Vaidas Gasiunas
bd1bf72304
ApiTester: Test mixed insert/get workload; support concurrent execution of multiple gets
2022-02-28 16:05:00 +01:00
Renxuan Wang
f7eb66441d
Try eliminating warnings in macOS and Windows CI builds.
...
MacOS warnings are format warnings, e.g., `format specifies type 'long' but the argument has type 'Version' (aka 'long long')`.
Windows warnings are `ACTOR does not contain a wait() statement`.
2022-02-25 19:06:57 -08:00
Vaidas Gasiunas
3967f9ed14
ApiTester: Introduce workload manager
2022-02-26 00:09:37 +01:00
Vaidas Gasiunas
c3e6eea41a
ApiTester: In memory key-value store
2022-02-26 00:08:21 +01:00