Xiaoxi Wang
2ae01bdf2d
Merge pull request #8162 from sfc-gh-xwang/feature/main/moveKey
...
Implement txnProcessor->moveKeys(const MoveKeysParams& params)
2022-09-13 14:11:49 -07:00
Dennis Zhou
540b814446
Merge pull request #8158 from sfc-gh-dzhou/api-version
...
ApiVersion cleanups
2022-09-13 14:00:22 -07:00
Junhyun Shim
b5b2988fd2
Merge pull request #8166 from sfc-gh-jshim/authz-tls-test-set-timeout
...
Set timeout on Authz TLS unit test
2022-09-13 20:39:39 +02:00
A.J. Beamon
e4ce779d8c
Merge pull request #8144 from sfc-gh-ajbeamon/tenant-support-for-api-tester
...
Tenant support for client testing framework
2022-09-13 09:40:52 -07:00
Trevor Clinkenbeard
9f1e04cf9f
Merge pull request #8147 from sfc-gh-tclinkenbeard/improve-backup-code-coverage
...
Check backup agent activity in BackupAndRestoreCorrectnessWorkload
2022-09-13 09:32:40 -07:00
Junhyun Shim
106bacfa6e
Set timeout on Authz TLS unit test
2022-09-13 18:22:12 +02:00
A.J. Beamon
2d68e246fb
Fix a couple other merge issues
2022-09-13 08:23:26 -07:00
Jingyu Zhou
aaefc434ea
Merge pull request #8161 from sfc-gh-anoyes/anoyes/tls-plugin-new-test-harness
2022-09-12 18:35:58 -07:00
Steve Atherton
a2e74af900
Merge pull request #8164 from sfc-gh-satherton/read-latency-logging-improvements
...
Add sampling class tests to FlowBench and remove redundant tests from Redwood
2022-09-12 18:05:22 -07:00
Dennis Zhou
e6222be6c6
fdbcli: use ApiVersion::LATEST_VERSION instead of hardcoding
2022-09-12 17:08:57 -07:00
Dennis Zhou
4f582e3709
bindingtester: move API_VERSIONS array to global
2022-09-12 17:08:57 -07:00
Dennis Zhou
88d8242bb6
bindings: clean up ApiVersion settings
...
Currently ApiVersion is scattered and hardcoded across the bindings.
Let's at least clean it up so it's once per file or less and use some
redirection against FDB_API_VERSION or API_VERSION.
2022-09-12 17:08:57 -07:00
Dennis Zhou
fed00e0f0c
ApiTester: TMP_DIR ApiVersion gate
2022-09-12 17:08:57 -07:00
Dennis Zhou
d6d69379a8
ApiVersion: tenant specific guards
2022-09-12 17:08:56 -07:00
A.J. Beamon
87ee0a2963
Merge pull request #8160 from sfc-gh-ajbeamon/remove-unnecessary-option
...
Remove unnecessary special key-space relaxed option in binding tenant management
2022-09-12 17:06:04 -07:00
A.J. Beamon
b0f4e0b997
Fix some merge issues
2022-09-12 15:42:31 -07:00
Xiaoxi Wang
1c486d802b
Merge branch 'main' of https://github.com/apple/foundationdb into feature/main/moveKey
2022-09-12 15:40:28 -07:00
Xiaoxi Wang
949b1c1af9
Add MoveKeysParams struct; use txnProcessor->moveKeys()
2022-09-12 15:40:18 -07:00
Andrew Noyes
cfd958d8aa
Set FDB_CLUSTER_FILE for command_line_argument_test ( #8155 )
...
Previously, you would see the following in command_line_argument_test:
```
Traceback (most recent call last):
File "/home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/tests/argument_parsing/test_argument_parsing.py", line 113, in <module>
test_fdbcli(args.build_dir)
File "/home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/tests/argument_parsing/test_argument_parsing.py", line 79, in test_fdbcli
check(is_unknown_knob(run_command(command, ["--knob-fake-knob", "foo"])))
File "/home/jenkins/fdb/extra/long/path/to/work/around/strange/cpack/debug/rpm/behavior/tests/argument_parsing/test_argument_parsing.py", line 30, in check
assert condition, "Command output:\n" + last_command_output
AssertionError: Command output:
Unable to read cluster file `./fdb.cluster' or `/etc/foundationdb/fdb.cluster' and FDB_CLUSTER_FILE unset: 1515 No cluster file found in current directory or default location
```
2022-09-12 15:35:30 -07:00
Andrew Noyes
c0600e509a
Attempt to fix windows build
2022-09-12 15:10:09 -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
A.J. Beamon
0c91336461
Remove unnecessary special key-space relaxed option in binding tenant management
2022-09-12 14:30:28 -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
Andrew Noyes
cfec8bdd61
Use tls plugin for old binaries < 5.2.0
...
This fixes restart tests from old binaries < 5.2.0, which previously
were immediately crashing in a TLS codepath. This behavior was not
originally ported from the old test harness to the new test harness.
2022-09-12 13:46:37 -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
Steve Atherton
3063061c09
Move sample benchmarks to Flowbench.
2022-09-12 01:31:09 -07: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