21623 Commits

Author SHA1 Message Date
A.J. Beamon
ad52c575a8 Merge branch 'main' into feature-metacluster 2022-07-30 18:33:19 -07:00
A.J. Beamon
eeefb12f14
Merge pull request #7744 from sfc-gh-ajbeamon/fix-token-unit-test
Fix bug in token cache unit test where the expiration time was underflowing
2022-07-30 15:40:14 -07:00
A.J. Beamon
5a071e1b19 Fix bug in token cache unit test where the expiration time was underflowing. 2022-07-30 14:22:24 -07:00
A.J. Beamon
9ded40b6e1 The metacluster management test should disallow creating any tenants in general workload setup. 2022-07-30 13:09:30 -07:00
A.J. Beamon
fc92774b2b Fix: cleanup the metadata for a tenant creation that is permanently failed and is being replaced. 2022-07-30 11:08:11 -07:00
A.J. Beamon
8e50fe0cfc Fix a couple test bugs 2022-07-29 21:54:41 -07:00
Xiaoxi Wang
85f2200d6b
Merge pull request #7741 from sfc-gh-xwang/refactor/main/enableState
create ShardsAffectedByTeamFailure.h
2022-07-29 16:20:08 -07:00
A.J. Beamon
0d264f2731 Fix up a few things from review 2022-07-29 15:33:09 -07:00
Xiaoxi Wang
dd902fc772 create ShardsAffectedByTeamFailure.h 2022-07-29 15:12:15 -07:00
A.J. Beamon
296f17e3e5 Merge branch 'main' into feature-metacluster 2022-07-29 15:06:48 -07:00
Markus Pilman
50fd0f11dd
Merge pull request #7738 from sfc-gh-mpilman/bugfixes/investigate-token-cache-segfaults
fix token cache unit test
2022-07-29 13:55:51 -06:00
A.J. Beamon
a69164d160 Merge branch 'main' into feature-metacluster 2022-07-29 11:53:06 -07:00
Markus Pilman
b600966cf9 fix token cache unit test 2022-07-29 12:47:55 -06: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
Xiaoxi Wang
c21aa193e6
Merge pull request #7736 from sfc-gh-xwang/refactor/main/teamrequest
[Read-aware DD] remove duplicate code in BgDDLoadRebalance
2022-07-29 11:24:52 -07:00
A.J. Beamon
2eabfe2597 Commit some changes that got left off in the last commit 2022-07-29 11:18:21 -07:00
Xiaoxi Wang
f0caaad93c
Update fdbserver/DataDistributionQueue.actor.cpp 2022-07-29 10:22:21 -07:00
Xiaoxi Wang
e3cf40002d format code 2022-07-29 10:11:10 -07:00
Xiaoxi Wang
d8323820f1 remove duplicate code 2022-07-29 10:04:14 -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
Josh Slocum
cfc13e7018
Adding more blobrange cli commands and a couple other tweaks (#7727) 2022-07-29 08:20:45 -07:00
A.J. Beamon
88d9ef771f Fix a couple bugs 2022-07-29 08:12:15 -07:00
Vaidas Gasiunas
d99d0370b1
C shim library: API for setting client library path; additional tests (#7702)
* Adding sources of the Implib.so project

* Run C unit tests and API tests with the shim library

* Reuse compilation of C test binaries with and without shim library

* Resolve client library path from an environment variable

* Refactoring: Reusable module for downloading FDB binaries

* Testing client shim library with current version and last release version

* Tests for specifying client library over an environment variable

* Enable C shim library tests on ARM

* Restore the original path for including fdb_api.hpp

* Improve cmake dependencies on doctest

* Remove unnecessary Implib.so files

* Shim library: API to specify path to the library, additional tests

* Adding shim library to Linux distribution packages

* Update link dependencies of fdb_c_shim_lib_tester

* Add dependencies on Implib.so sources

* Abort on fatal errors of shim library

* fix typo
2022-07-29 11:45:45 +02:00
A.J. Beamon
e5bf838c83 Fix metacluster register command hints, fix bug in cluster registration on retries, extend the length of the tenant management concurrency test 2022-07-28 21:02:12 -07:00
Hao Fu
62bee7ac9a
Add g_traceBatch for prefetch query (#7730) 2022-07-28 17:54:31 -07:00
Trevor Clinkenbeard
8491c2530f
Merge pull request #7416 from sfc-gh-ljoswiak/fixes/change-coordinators-commit-unknown-result
Ensure change coordinators request came from the same generation proxy
2022-07-28 17:29:24 -07:00
A.J. Beamon
e8e4f3ad3a Merge branch 'main' into feature-metacluster
# Conflicts:
#	fdbclient/include/fdbclient/Tenant.h
2022-07-28 16:53:29 -07:00
A.J. Beamon
5db1135ac6 Add MetaclusterOperationContext to make it easier to run multi-transaction operations 2022-07-28 16:44:20 -07:00
Dan Lambright
83d23512d2
Track when version not found in version vector. (#7653)
* Track when version not found in version vector.

* Respond to comments

* include vv in event

* Respond to review comments.

* Fix bug where we logged too many lines
2022-07-28 18:26:15 -04:00
A.J. Beamon
cd19f2cdc2 Add metacluster awareness of the tenant count limit 2022-07-28 15:03:38 -07:00
He Liu
35a4cb91d5
Disable ShardedRocksDB in simulation when shard_encode_location_metadata is disabled (#7726)
* Disabled tests for ShardedRocks.

Cleaned up ShardedRocks TraceEvent.

Added assertion in ShardManager::validate().

* Added test trace.

* Make sure TraceEvent contains `ShardedRocks`.

* Exclude ShardedRocksDB when SHARD_ENCODE_LOCATION_METADATA is disabled.

Co-authored-by: He Liu <heliu@apple.com>
2022-07-28 13:54:29 -07:00
A.J. Beamon
620467a91b Fix some formatting issues 2022-07-28 13:42:34 -07:00
A.J. Beamon
65cfc839a6 Some various cleanup 2022-07-28 13:35:24 -07:00
Markus Pilman
ade9d20780
Merge pull request #7628 from sfc-gh-mpilman/features/code-coverage-test-harness
Change test harness to include comments
2022-07-28 13:54:21 -06:00
A.J. Beamon
4124fb202a Remove extra code 2022-07-28 12:04:08 -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
Junhyun Shim
83e94781b4
Merge pull request #6842 from sfc-gh-mpilman/features/authz
Authorization
2022-07-28 19:50:24 +02:00
Markus Pilman
92b1d1f647 Don't fail TestHarness if comment doesn't exist 2022-07-28 11:03:09 -06:00
Markus Pilman
5469e58562 Merge remote-tracking branch 'origin/main' into features/code-coverage-test-harness 2022-07-28 10:01:20 -06:00
Nim Wijetunga
f07a38b75a use default values 2022-07-27 21:17:28 -07:00
Nim Wijetunga
ed0b1ed030 default init 2022-07-27 19:53:49 -07:00
Nim Wijetunga
dd8bf5076f initalize bool 2022-07-27 18:44:42 -07:00
Nim Wijetunga
7d287edc30 initalize values 2022-07-27 17:29:10 -07:00
Xiaoxi Wang
4091a567ab
Merge pull request #7725 from sfc-gh-xwang/fix/main/status
fix storage_metadata disappear because other attribution is missed
2022-07-27 17:14:08 -07:00
Nim Wijetunga
cc1b8d27c9 fix tests 2022-07-27 16:26:59 -07:00
Junhyun Shim
78ea2b40b6 Add assertion to check g_currentDelivery* is unset before delivery 2022-07-28 01:16:42 +02:00
A.J. Beamon
9b060aacf6
Merge pull request #7715 from sfc-gh-jfu/jfu-tenant-rename-special-keys
Tenant renaming special key-space support
2022-07-27 16:12:03 -07:00
Junhyun Shim
631cca6560 More code review suggestions 2022-07-28 01:04:15 +02:00
Xiaoxi Wang
bcf022575c fix storage_metadata disappear because other attribution is missed 2022-07-27 15:55:38 -07:00
Junhyun Shim
1e83d7e1ab Apply code review suggestions 2022-07-28 00:47:14 +02:00