Commit Graph

25680 Commits

Author SHA1 Message Date
Johannes M. Scheuermann b317928646 Only consider newly excluded processes 2023-03-15 15:36:15 +01:00
Junhyun Shim 4cad816bbe
Add a wait-reply loop to tenant id getter (#9685)
cluster_version_changed can be hit even with tenant.get_id()
2023-03-15 15:29:47 +01:00
Josh Slocum a5b4212990 adding blob granule logical size 2023-03-15 08:54:49 -05:00
Josh Slocum 52c0dc56cc fixing 2 bugs related to high delta file waitCommitted latency 2023-03-15 08:39:42 -05:00
Josh Slocum 03818e94f3
add exclusion tracker utility and use it in DD (#9669) 2023-03-15 08:21:28 -05:00
Xiaoxi Wang 213263b5d2 fix unit test failure because of implicit uint16_t conversion to int 2023-03-14 22:23:20 -07:00
Jingyu Zhou 0edf34b3b3
Merge pull request #9666 from xis19/jemalloc
Enforce the jemalloc version
2023-03-14 20:54:20 -07:00
Evan Tschannen c435e8336a no message 2023-03-14 16:40:50 -07:00
He Liu a0a3f4bff3
Fetch byte sample file (#9657) 2023-03-14 16:24:08 -07:00
Dan Adkins 6c796fa0d1 Get read version after setting transaction options. 2023-03-14 15:55:10 -07:00
Xiaoge Su 21095bd036 fixup! Fix the version issue 2023-03-14 15:03:49 -07:00
A.J. Beamon 4bad004f47
Merge pull request #9688 from sfc-gh-ajbeamon/fix-empty-optional-access-ctest
Avoid potential access of empty optionals when printing errors in the api tester
2023-03-14 12:46:54 -07:00
Dan Adkins 4757545396 Replace 10-second delay with explicit wait for cluster recovery in checkExtraDataStores.
CheckExtraDataStores reboots or kills storage servers with extra data stores.
Since this occurs during a consistency check, the expectation is that the database
is quiet and not in the midst of recovery. This was done with a 10-second delay,
but it's possible during simulation tests that it takes longer than 10 seconds
to recruit a new master, so this assumption is invalid and can cause a test failure
when the consistency checks proceed.

Instead of a delay, we run an empty transaction through the system and explicitly
wait for the cluster to return to a fully-recovered state.
2023-03-14 12:46:13 -07:00
Zhe Wang 7d2766b692
Fix KeyRangeRef::isCovered() (#9675)
* fix KeyRangeRef::isCovered()

* reproduce bug

* more unit test added

* fmt
2023-03-14 12:41:18 -07:00
Jingyu Zhou 74f4b081e3
Merge pull request #9627 from sfc-gh-yajin/deflake-test-1 2023-03-14 11:18:59 -07:00
A.J. Beamon 33d501d36a Avoid potential access of empty optionals when printing errors in the api tester 2023-03-14 10:41:43 -07:00
Jingyu Zhou da3228379e
Merge pull request #9680 from sfc-gh-ajbeamon/fix-unknown-error-crash
Fix early unknown_error crash when tracing too many lines
2023-03-14 09:18:13 -07:00
Jingyu Zhou c5e9bdc6e4
Merge pull request #9684 from sfc-gh-ahusain/ahusain-fix-rest-test
Fix RestUtilUnit test
2023-03-14 09:16:39 -07:00
Yanqin Jin 37b0b0852c Merge remote-tracking branch 'origin/main' into deflake-test-1 2023-03-14 09:12:01 -07:00
Hui Liu 499a4cab93
Add correctness test for point-in-time restore (#9185) 2023-03-14 08:56:34 -07:00
A.J. Beamon 4e0a46b3d4
Merge pull request #9613 from sfc-gh-ajbeamon/metacluster-improvements
Metacluster/tenant fixes
2023-03-13 17:09:43 -07:00
A.J. Beamon 5504a58a12 Fix formatting 2023-03-13 16:04:25 -07:00
A.J. Beamon d39cda610a Merge branch 'main' into metacluster-improvements
# Conflicts:
#	fdbcli/TenantCommands.actor.cpp
2023-03-13 15:58:39 -07:00
Ata E Husain Bohra aae8b131cb Remove 'printf'
Description

Testing
2023-03-13 15:50:04 -07:00
Ata E Husain Bohra a196f2fd75 Fix RestUtilUnit test
Description

Fix RestUtilUnit test

Testing

RESTUtilUnits.toml
2023-03-13 15:46:15 -07:00
Jingyu Zhou d54e24ee2e
Merge pull request #9676 from sfc-gh-ajbeamon/handle-hostname-parse-error
The isHostname function could cause an unknown_error if regex parsing failed
2023-03-13 15:21:30 -07:00
Jon Fu b751d0f87c
Add tenant getId api to fdbcli (#9658)
* add tenant getId api to fdbcli

* add to fdbcli tests and address review comments

* fix fdbcli tests
2023-03-13 18:06:03 -04:00
A.J. Beamon 9d25dd5356 Switch unknown_error -> test_failed to prevent early crashes when tracing too many lines 2023-03-13 14:46:43 -07:00
A.J. Beamon 45056370b8 Merge branch 'main' into metacluster-improvements 2023-03-13 13:14:09 -07:00
A.J. Beamon 18cf523f49
Merge pull request #9660 from sfc-gh-ajbeamon/tenant-id-restore-safety
Disallow repopulating a management cluster from a data cluster with matching tenant ID prefix
2023-03-13 13:12:30 -07:00
Ata E Husain Bohra ea796eb3ec
EaR: REST kms misc fixes (#9664)
* EaR: REST kms misc fixes

Description

Patch addresses following issues:
1. Fix "return connection" routine, it fixes a regression introduced by
an earlier fix.
2. Update RESTConnectionPool::connectionPoolMap to an "unordered_map"
for O(1) lookups
3. Improve logging
4. Make RESTUrl parsing handle extra '/' for 'resource'

Testing

Standalone fdbserver connecting to external KMS and database create
2023-03-13 13:11:05 -07:00
A.J. Beamon 0e0605246f The isHostname function could cause an unknown_error if regex parsing failed 2023-03-13 11:45:31 -07:00
Jingyu Zhou 9d5deeb830
Merge pull request #9671 from jzhou77/release-notes
Added 7.1.28 and 7.1.29 release notes
2023-03-13 11:24:43 -07:00
Jingyu Zhou 2890b9943a
Merge pull request #9662 from sfc-gh-jslocum/redwood_dispose_hang
swallowing errors in redwood dispose
2023-03-12 22:16:27 -07:00
Jingyu Zhou d6a7708de3 Added 7.1.28 and 7.1.29 release notes 2023-03-12 21:34:02 -07:00
Yanqin Jin 63098b0545 Merge remote-tracking branch 'origin/main' into deflake-test-1 2023-03-12 10:15:26 -07:00
Steve Atherton f0668f7dba Merge remote-tracking branch 'origin/main' into redwood_dispose_hang 2023-03-12 04:12:06 -07:00
Vaidas Gasiunas 910fdcd423
Disable python unit tests in sanitizer builds (#9653) 2023-03-11 15:33:56 +01:00
Xiaoge Su c4a5cf0e8e Enforce the jemalloc version
With this patch, jemalloc version must be 5.3.0; otherwise error is
thrown.
2023-03-10 23:37:15 -08:00
Markus Pilman 2acc3e965d Adding data corruption test to verify consistency check 2023-03-10 23:29:54 -07:00
Steve Atherton 12cd53a3b3 Merge remote-tracking branch 'origin/main' into redwood_dispose_hang 2023-03-10 20:01:14 -08:00
Ankita Kejriwal ffa0aa4a7b
Update the expected error message from exclude in fdbcli_tests (#9648) 2023-03-10 19:49:20 -08:00
A.J. Beamon 6b2185c707 Fix off-by-one in token hint generator for metacluster restore 2023-03-10 18:50:34 -08:00
Josh Slocum 4a0ceca75e swallowing errors in redwood dispose 2023-03-10 17:49:56 -06:00
A.J. Beamon cbc330697c Disallow repopulating a management cluster from a data cluster with matching tenant ID prefix unless forced. Remember the largest used tenant ID on the data cluster and use it to update the management cluster tenant ID when force repopulating the same ID. 2023-03-10 15:36:37 -08:00
Yanqin Jin 86682668ca Merge remote-tracking branch 'origin/main' into deflake-test-1 2023-03-10 14:57:59 -08:00
A.J. Beamon 31aa6af783
Merge pull request #9655 from sfc-gh-ajbeamon/fix-tenant-lock-cli-memory-error
Fix memory error in fdbcli tenant lock command
2023-03-10 14:53:32 -08:00
A.J. Beamon 06decf1141 Fix memory error in fdbcil tenant lock command 2023-03-10 10:31:59 -08:00
Marian Dvorsky 90048d1e92
Enable fdb_install of fdb_c_shim for sanitizer builds (#9646) 2023-03-10 14:33:59 +01:00
Jingyu Zhou b13e496986
Merge pull request #9645 from sfc-gh-huliu/fixasan
Fix asan error caused by StringRef parameter of updateRestoreState
2023-03-09 17:35:56 -08:00