Commit Graph

25385 Commits

Author SHA1 Message Date
Dan Adkins 37b6804f88 Add metric for queue wait time in tlog. 2023-02-27 15:40:22 -08:00
Markus Pilman ed1079fc7d Remove wrong comment 2023-02-27 15:27:16 -07:00
Markus Pilman 1689e36d14 Fix uid extraction from lock command output 2023-02-27 15:24:07 -07:00
Xiaoxi Wang eeade33c30 Merge branch 'main' of https://github.com/apple/foundationdb into feature/main/readaware 2023-02-27 14:18:44 -08:00
Jingyu Zhou d59b341108
Merge pull request #9501 from jzhou77/fix
Fix a memory bug in ClogTlog workload
2023-02-27 13:46:55 -08:00
Russell Sears ac9bc2738b Fix flowbench build in CI (requires new build image) 2023-02-27 15:38:58 -06:00
Russell Sears 3453c1a7a1 remove dependency on xerrors by replacing deprecated call to "xerrors.As". This allows the golang build to run offline. (This is simpler than adding "go mod vendor" to the developer container build.) 2023-02-27 15:38:58 -06:00
Russell Sears d2af157189 Add support for using pre-packaged jemalloc, doctest_proj, and fix python support for old fdbserver binaries 2023-02-27 15:38:58 -06:00
Russell Sears bcc05b1058 Improve support for prebuilt boost 2023-02-27 15:38:58 -06:00
Russell Sears d02118db67 Add support for using pre-downloaded junit dependencies 2023-02-27 15:38:58 -06:00
Russell Sears f58d58ca77 Add support for pre-built googlebenchmark 2023-02-27 15:38:58 -06:00
Zhe Wu 7304e5cad0
Merge pull request #9485 from halfprice/zhewu/backup-size-estimate
Enhance fdbbackup query command to estimate data processing from a specific snapshot to a target version
2023-02-27 13:35:54 -08:00
Markus Pilman 6a55f0da26 Add missing newlines in tenant lock fdbcli command output 2023-02-27 14:02:29 -07:00
Junhyun Shim b811881f41
Allow unthrottled, unsuppressed traces for security-related events (#9459)
* Define API for unsuppressable TraceEvent types

Add trace checking tests for authz trace events

* Revert temporary configurations used for debugging

* Simplify/Modernize flow audit logging API

- Do event type whitelist checks at compile time
- Use ""_audit literal API instead of a tag struct
- Replace int with a lightweight struct for tracking/modifying TraceEvent enablement

* Revert installing signal handler for SIGTERM and refactor test script

Move trace checker to local_cluster.py

* Lengthen public key refresh interval and add more audited events

* Try and make MSVC and Mac build happy

* consteval > constexpr

'inline consteval' still causes link errors in Mac builds
2023-02-27 21:51:13 +01:00
Steve Atherton 80eb84de3c
Merge pull request #9488 from sfc-gh-satherton/redwood-first-commit-record
Fix correctness failures in encryption enforcement related to Redwood instances killed during initialization.
2023-02-27 12:10:02 -08:00
Jingyu Zhou 1f9b44480e Fix a memory bug in ClogTlog workload 2023-02-27 11:39:50 -08:00
Yanqin Jin bf9e5cdc7e
Fix a typo in one actor helper filter(...) (#9499)
As title.
2023-02-27 11:13:59 -08:00
Josh Slocum 48bcf2b25f adding code probes 2023-02-27 13:12:51 -06:00
Xiaoxi Wang 4af2861b7a
Merge pull request #9382 from sfc-gh-tclinkenbeard/remove-clear-after-test
Don't clear after `TenantEntryCacheTest`
2023-02-27 11:11:21 -08:00
Josh Slocum 1ef6971f27 Handling missing tenants and errors in blob metadata fetch 2023-02-27 13:07:54 -06:00
A.J. Beamon a44c4c2e2e
Merge pull request #9478 from sfc-gh-ajbeamon/assert-comparison-all-types
Allow performing assert comparisons with any traceable type
2023-02-27 11:03:27 -08:00
Markus Pilman 7c19e0d846 fix UID formatting 2023-02-27 11:44:38 -07:00
Josh Slocum 411ff6831d adding missing tenant or error injection to blob metadata kms fetch 2023-02-27 12:08:59 -06:00
Zhe Wu c5c434eb71 Add more comments in fdbbackup query command, and address comments 2023-02-27 10:00:49 -08:00
A.J. Beamon f031724f40 Address review comments 2023-02-27 09:55:40 -08:00
Jingyu Zhou 262f216d3a
Disable ClogTlog.toml due to ASAN failures (#9495) 2023-02-27 09:38:50 -08:00
Josh Slocum 5dcf236296 waiting for known ranges in force purge to be blobbified before purging 2023-02-27 11:35:35 -06:00
Vaidas Gasiunas 8a934c4f93 Fix comment in TestApiVersion 2023-02-27 18:30:50 +01:00
Vaidas Gasiunas e3b3bf9307 Fix formatting in TestApiVersion 2023-02-27 18:27:42 +01:00
Vaidas Gasiunas 83f76b60b9 Define the API version separately for the Java tests that are not executed as a part of the CI 2023-02-27 18:20:11 +01:00
Xiaoxi Wang da7d441436 Merge branch 'main' of https://github.com/apple/foundationdb into feature/main/readaware 2023-02-27 09:09:35 -08:00
Josh Slocum 716a9c3817 addressing review comments and fixmes in bg commit proxy code 2023-02-27 10:51:47 -06:00
Ankita Kejriwal f7108958bf
Merge pull request #9449 from sfc-gh-akejriwal/exclusion
Improve space estimation in checkExclusion()
2023-02-27 08:31:52 -08:00
Josh Slocum 4fa528f3fa added unit test for bg tenant deletion 2023-02-27 10:21:26 -06:00
Josh Slocum 1e7368aa21 removing double counted counter 2023-02-27 10:18:50 -06:00
Markus Pilman a0e347c7ba Merge remote-tracking branch 'origin/main' into features/tenant-lock-fdbcli 2023-02-27 09:09:20 -07:00
Vaidas Gasiunas 8ddda99036 Fix name of FDB_USE_LATEST_BINDINGS_API_VERSION 2023-02-27 16:53:35 +01:00
Vaidas Gasiunas ddb183e18b Fixing bindingtester 2023-02-27 16:46:01 +01:00
Vaidas Gasiunas ba726fac87 Replace hardcoded API version checks for 720 and 730 2023-02-27 16:18:01 +01:00
Vaidas Gasiunas 1b6ced1a09 Define latest C API version in one place 2023-02-27 15:13:56 +01:00
Josh Slocum faf8ec6281 adding authz blob management tests to ensure tenant-scoped clients cannot do blob management 2023-02-27 08:06:36 -06:00
Vaidas Gasiunas f7e2f0b6ce Define latest python binding API version in one place 2023-02-27 13:12:10 +01:00
Vaidas Gasiunas 7f35b395d3 Define the latest Java bindings API version in one place 2023-02-27 11:53:01 +01:00
Steve Atherton cad7596e2d Apply clang-format. 2023-02-27 01:07:35 -08:00
Steve Atherton 674c105050
Merge pull request #9473 from sfc-gh-etschannen/feature-change-feed-lock
Replace fetchKeysParallelismFullLock to speed up fetch keys in idle clusters
2023-02-26 23:18:43 -08:00
Steve Atherton 01f89d1245 Merge commit '97c355085c0e22e727a5c3e35ace926a58b16f5d' into redwood-first-commit-record 2023-02-26 21:19:17 -08:00
Steve Atherton 92bfa1d578 Throw an error if reopened Redwood file is recovered but to a point prior to when the BTree was created if the Encryption Mode of the cluster is not known. 2023-02-26 21:15:48 -08:00
Zhe Wu 4fd3a90732 fix clang build error 2023-02-26 12:38:52 -08:00
Zhe Wu ffa3467098 Explicitly using min and max restorable version from backup description in query command in stead of going throw snapshots 2023-02-26 12:17:07 -08:00
Steve Atherton 29444252fc Prevent Redwood Pager from recovering to a point before the user commit record (ie the BTree CommitRecord) was initialized as this isn't a useful recovery point. 2023-02-26 01:38:24 -08:00