1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-06-02 03:12:12 +08:00

21526 Commits

Author SHA1 Message Date
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
Xiaoxi Wang
85f2200d6b
Merge pull request from sfc-gh-xwang/refactor/main/enableState
create ShardsAffectedByTeamFailure.h
2022-07-29 16:20:08 -07:00
Xiaoxi Wang
dd902fc772 create ShardsAffectedByTeamFailure.h 2022-07-29 15:12:15 -07:00
Markus Pilman
50fd0f11dd
Merge pull request from sfc-gh-mpilman/bugfixes/investigate-token-cache-segfaults
fix token cache unit test
2022-07-29 13:55:51 -06:00
Markus Pilman
b600966cf9 fix token cache unit test 2022-07-29 12:47:55 -06:00
Nim Wijetunga
3e45b6657c
Merge pull request 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 from sfc-gh-xwang/refactor/main/teamrequest
[Read-aware DD] remove duplicate code in BgDDLoadRebalance
2022-07-29 11:24:52 -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
Josh Slocum
cfc13e7018
Adding more blobrange cli commands and a couple other tweaks () 2022-07-29 08:20:45 -07:00
Vaidas Gasiunas
d99d0370b1
C shim library: API for setting client library path; additional tests ()
* 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
Hao Fu
62bee7ac9a
Add g_traceBatch for prefetch query () 2022-07-28 17:54:31 -07:00
Trevor Clinkenbeard
8491c2530f
Merge pull request 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
Dan Lambright
83d23512d2
Track when version not found in version vector. ()
* 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
He Liu
35a4cb91d5
Disable ShardedRocksDB in simulation when shard_encode_location_metadata is disabled ()
* 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
Markus Pilman
ade9d20780
Merge pull request from sfc-gh-mpilman/features/code-coverage-test-harness
Change test harness to include comments
2022-07-28 13:54:21 -06:00
Junhyun Shim
83e94781b4
Merge pull request 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 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 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
Junhyun Shim
144bb4e110
Apply suggestions from code review
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2022-07-28 00:45:31 +02:00
Jon Fu
e9e388db99 fix formatting 2022-07-27 15:13:09 -07:00
Nim Wijetunga
6181d89767 fix test 2022-07-27 13:36:55 -07:00
Junhyun Shim
da16c59059 Fix Windows build error 2022-07-27 21:13:17 +02:00
Junhyun Shim
c6342a6e5b
Merge branch 'main' into features/authz 2022-07-27 20:51:32 +02:00
Junhyun Shim
27e2bf60c6 Handle case where exception is thrown before tenant prefix is prepended 2022-07-27 20:13:25 +02:00
Jingyu Zhou
64b7e92002
Merge pull request from jzhou77/main
Add 7.1.16, 7.1.17 release notes
2022-07-27 11:04:51 -07:00
Nim Wijetunga
2cd73242de fix merge conflict 2022-07-27 10:58:41 -07:00
Nim Wijetunga
fce40b2cb8
Merge branch 'apple:main' into main 2022-07-27 10:57:08 -07:00
Nim Wijetunga
6b525ec053 format 2022-07-27 10:55:58 -07:00
Jingyu Zhou
38d2d39001 Add 7.1.16, 7.1.17 release notes 2022-07-27 09:53:02 -07:00
Markus Pilman
ef46f72d0c Merge remote-tracking branch 'origin/main' into features/code-coverage-test-harness 2022-07-27 10:41:18 -06:00
Jon Fu
af7a644037 Merge branch 'main' of github.com:apple/foundationdb into jfu-tenant-rename-special-keys 2022-07-27 09:37:38 -07:00
A.J. Beamon
7f3b433a1c
Merge pull request from sfc-gh-ajbeamon/add-tenant-limit
Add a limit to the number of tenants that can be created in a cluster
2022-07-27 09:28:55 -07:00
A.J. Beamon
d39c0b773a Add a limit to the number of tenants that can be created in a cluster 2022-07-27 08:21:03 -07:00
Nim Wijetunga
50391c35b1 Merge branch 'main' of github.com:sfc-gh-nwijetunga/foundationdb into nim/tenant-encryption-property
* 'main' of github.com:sfc-gh-nwijetunga/foundationdb: (42 commits)
  Get ShardedRocks ready for simulation test. ()
  fixing specific unit test
  formatting
  addressing review comments
  Fix incorrect deserialization of FdbClientLogEvents::Event ()
  Fix a crash bug during CC shutdown process ()
  addressing review comments
  remove runAfter
  Add comments explaining the use of the TransactionState tenant() and hasTenant() functions
  Make sure resumeFromDataMoves() starts after resumeFromShards().
  Fix: during recovery, it was possible for tenant operations to briefly fail because the tenant mode is not known
  formatting
  Fixed granule purging bug and improved debugging for purging
  making purge failures fail test
  cleanup and polish
  Bug fix and cleanup
  First version of key-sorted delta files
  Added full granule read unit test
  Completed delta format unit test
  delta file test and delta generation
  ...
2022-07-27 08:13:30 -07:00
Nim Wijetunga
c0e13b8ae2
Merge pull request from apple/main
merge
2022-07-27 08:12:52 -07:00
A.J. Beamon
dec6dbfbfb
Merge pull request from sfc-gh-ajbeamon/feature-tenant-groups
Add support for tenant groups
2022-07-27 07:56:27 -07:00
Josh Slocum
cf0fadab85
Merge pull request from sfc-gh-jslocum/improved_cf_testing
Improved change feed testing
2022-07-27 08:04:37 -05:00