Commit Graph

22431 Commits

Author SHA1 Message Date
A.J. Beamon 2d68e246fb Fix a couple other merge issues 2022-09-13 08:23:26 -07:00
A.J. Beamon b0f4e0b997 Fix some merge issues 2022-09-12 15:42:31 -07:00
A.J. Beamon b9c8bdeec6 Extract randomTenant() function; add back accidentally deleted line; move the new multi tenant test and fix a name error in its spec 2022-09-12 15:03:30 -07:00
A.J. Beamon 8086fc819e Some refactoring of tenants in the API tester. This mainly changes it so that tenants are stored on the ApiWorkload and any subclasses can use them. Update the setup phase to work across tenants. 2022-09-12 15:03:30 -07:00
Sagar Vemuri 00276d5700 Move the test to be multithreaded 2022-09-12 15:02:44 -07:00
Sagar Vemuri ccf405c17a Add more workload operations support 2022-09-12 15:02:44 -07:00
Sagar Vemuri 52150a5cf7 Add a new multi-tenant specific Transaction Executor 2022-09-12 15:01:39 -07:00
Sagar Vemuri ba314fbc12 Plumb tenant id from individual workload operation to transaction executor 2022-09-12 14:57:29 -07:00
Sagar Vemuri 6b17326135 Add tenant support 2022-09-12 14:40:47 -07:00
Markus Pilman 59ce49913a
Merge pull request #8146 from sfc-gh-tclinkenbeard/improve-code-coverage
Increase the number of unit tests run in `RandomUnitTests.toml`
2022-09-12 15:10:47 -06:00
Markus Pilman 4d8323481c
Merge pull request #8134 from sfc-gh-jshim/authz-code-probe-coverage
Authz TokenCache code probe coverage
2022-09-12 15:09:38 -06:00
Trevor Clinkenbeard 1582e79cc2
Merge pull request #8153 from sfc-gh-tclinkenbeard/remove-hostname-resolution-codeprobe
Remove code probe for "Coordinator hostname resolving failure"
2022-09-12 14:01:52 -07:00
Xiaoxi Wang 0c8b7d1b37
Merge pull request #8128 from sfc-gh-bvr/tenantteams
Add code probes to tenant-based shard splitter
2022-09-12 11:16:48 -07:00
sfc-gh-tclinkenbeard 7a2554c73e Remove code probe for \"Coordinator hostname resolving failure\"
This is not intended to be hit in simulation, and we have visibility
into these events with the MonitorProxiesConnectFailed trace event.
2022-09-12 10:09:08 -07:00
Russell Sears a4fd0c0a9e
Fix clang build in current dev container (#8121)
* Fix clang build in current dev container

* Fix RocksDB build w/ clang

* Fix cmake warning about download timestamp semantics

* Disable RocksDB build on windows.
2022-09-12 12:03:40 -05:00
Jingyu Zhou 9429ca992c
Merge pull request #8066 from sfc-gh-tclinkenbeard/fix-includes
Use full header file paths in includes
2022-09-12 09:43:24 -07:00
Jingyu Zhou 48a5fb9e4b
Merge pull request #8094 from sfc-gh-dadkins/sfc-gh-dadkins/fix-c-bindings
Add missing fdb_cpp ->fdb_c dependency.
2022-09-12 09:42:40 -07:00
Jingyu Zhou f530ffdac0
Merge pull request #8148 from sfc-gh-tclinkenbeard/improve-restart-code-coverage
Fix configuration section of ConfigureTestRestart-2.toml test file
2022-09-12 09:31:18 -07:00
Jingyu Zhou 6c6c1c7c2b
Merge pull request #8149 from sfc-gh-tclinkenbeard/remove-storage-cache-code-probes
Disable CODE_PROBEs in StorageCache.actor.cpp
2022-09-12 09:30:24 -07:00
Jingyu Zhou e415a963d6
Merge pull request #8150 from sfc-gh-tclinkenbeard/fast-iteration-flowbench
Use faster `KeepRunning` loops in `flowbench`
2022-09-12 09:29:29 -07:00
Bharadwaj V.R ac4a70ee45
Merge branch 'apple:main' into tenantteams 2022-09-12 09:18:54 -07:00
Junhyun Shim fa154ff978 Merge remote-tracking branch 'origin/main' into authz-code-probe-coverage 2022-09-12 10:31:30 +02:00
sfc-gh-tclinkenbeard 7a870d395a Use faster KeepRunning loops in flowbench 2022-09-11 20:32:28 -07:00
sfc-gh-tclinkenbeard 661f24821c Disable CODE_PROBEs in StorageCache.actor.cpp 2022-09-11 10:45:59 -07:00
sfc-gh-tclinkenbeard 42b3f94afa Add ConfigDBUnitTest.toml 2022-09-11 00:36:18 -07:00
sfc-gh-tclinkenbeard 39c6989673 Remove some simulation unit tests.
These tests should not be run in simulation, because they either run too
long or break determinism.
2022-09-11 00:36:18 -07:00
sfc-gh-tclinkenbeard eb5fb8176b Increase tolerance in GlobalTagThrottlerTesting::isNear function 2022-09-11 00:36:18 -07:00
sfc-gh-tclinkenbeard 924c198a5b Run 10 unit tests within RandomUnitTests.toml 2022-09-11 00:36:18 -07:00
sfc-gh-tclinkenbeard 5dbbd73879 Fix typo in __eraseDirectoryRecursiveCount variable name 2022-09-11 00:36:13 -07:00
sfc-gh-tclinkenbeard 8d988bb1fb Fix configuration section of ConfigureTestRestart-2.toml test file 2022-09-11 00:18:39 -07:00
Vaidas Gasiunas 81fff640bd
Testing with invalid cluster files, fixing update from changed cluster file (#8126)
* ApiTester: test with invalid cluster files

* More asserts in monitorProxies

* ApiTester: Test tampering the cluster file

* Fix update of connection string from the cluster file to use the new connection string only if it valid

* ApiTester: add linker dependency on std++fs

* upgrade_test: no-cleanup-on-error option

* ApiTester: use atomic operations to change and access the transaction handle
2022-09-10 09:23:00 +02:00
Yi Wu d831c87d14
Add encryption metrics (#8070)
Adding the following metrics:
* BlobCipherKeyCache hit/miss
* EKP: KMS requests latencies
* For each component that using encryption, they now need to pass a UsageType enum to the encryption helper methods (GetEncryptCipherKeys/GetLatestEncryptCipherKey/encrypt/decrypt) and those methods will help to log get cipher key latency samples and encryption/decryption cpu times accordingly.
2022-09-09 18:43:09 -07:00
Russell Sears 6546e3c458
Merge pull request #8138 from sears/header_macro_cleanup
Fix duplicate (and broken) header macro FDBCLIENT_EVENTTYPES[S]_ACTOR…
2022-09-09 16:31:16 -07:00
Jon Fu e205147104
Merge pull request #7993 from sfc-gh-jfu/jfu-tenant-special-key-space
Explicit tenant support in special key space
2022-09-09 13:33:43 -07:00
Xiaoxi Wang 9680913ed3
Merge pull request #8103 from sfc-gh-xwang/fix/main/ppwmessage
Fix inaccurate PPW configure return code
2022-09-09 13:07:19 -07:00
Dennis Zhou 1fafa6471a
Merge pull request #8130 from sfc-gh-dzhou/blobapi-fixes
Blobapi fixes
2022-09-09 12:44:50 -07:00
Russell Sears 73f65c3192 Fix duplicate (and broken) header macro FDBCLIENT_EVENTTYPES[S]_ACTOR[_G]_H 2022-09-09 19:14:30 +00:00
Jon Fu 7381cf6ef4 update test assertions 2022-09-09 12:11:02 -07:00
Jon Fu 006fc9a0ef code formatting 2022-09-09 11:58:36 -07:00
1inker db888245ed
Pass compilers choice to subprojects (#8135) 2022-09-09 11:53:48 -07:00
Dennis Zhou 802893d02b FutureBool: fix bool -> fdb_bool_t
Honestly, this might not be an issue, but it's nice to be consistent
with the conversions across c++ -> c for bool type.
2022-09-09 11:29:52 -07:00
Dennis Zhou 28ac29476a blob: fix unblobbify calling blobbify 2022-09-09 11:29:52 -07:00
Junhyun Shim dddc895b30 Merge remote-tracking branch 'origin/main' into authz-code-probe-coverage 2022-09-09 19:40:18 +02:00
Jon Fu 328e4b3bf9 use state variable for error 2022-09-09 10:15:25 -07:00
Jon Fu 75a096a5e5 Merge branch 'main' of github.com:apple/foundationdb into jfu-tenant-special-key-space 2022-09-09 10:12:19 -07:00
Jon Fu 8a24afb152 fix miscellaneous errors in special keys tests 2022-09-09 10:07:37 -07:00
Junhyun Shim 727e000b2a Apply clang format 2022-09-09 15:31:29 +02:00
Junhyun Shim 89800dbb03 Cover TokenCache code probes unhit by unit test
* Token with invalid signature
* Valid token doesn't reference tenant
2022-09-09 15:30:07 +02:00
Josh Slocum e66015cbe4
Including change feed bytes towards storage queue (#8107) 2022-09-08 16:37:44 -07:00
Josh Slocum 3887ed5409
fixing memory leak caused by uncessary notified version promises (#8106) 2022-09-08 16:32:24 -07:00