[feature](be) Support cross-AZ success quorum waiting - #66827
Open
deardeng wants to merge 1 commit into
Open
Conversation
### What problem does this PR solve? Issue Number: None Related PR: apache#66751 Problem Summary: Loads can reach the ordinary replica quorum before the configured minimum number of replicas in each availability zone has finished. Pass backend locations and the cross-AZ quorum policy through optional Thrift fields, wait for the per-AZ requirement in both BE tablet writers, clamp each requirement to the replicas actually present, and exclude replicas with version gaps. The authoritative commit check is provided separately by apache#66751. Precise tablet-level quorum-success accounting is intentionally deferred to follow-up work. ### Release note Support waiting for configured cross-AZ successful replicas during load. ### Check List (For Author) - Test: Unit Test and regression test added - BE unit test attempted with `ENABLE_UNITY_BUILD=OFF ./run-be-ut.sh --run --filter=TestVTabletWriterV2.* -j16`; blocked during CMake configuration because current master references missing `be/src/storage/compaction/collection_statistics.cpp` - Regression tests not run because they require the FE changes from apache#66751 - `build-support/clang-format.sh` and `build-support/check-format.sh` with clang-format 16 passed - `build-support/run-clang-tidy.sh --build-dir be/ut_build_ASAN` attempted; blocked by a toolchain `stddef.h` lookup failure and pre-existing diagnostics - Behavior changed: Yes, BE waits for the configured cross-AZ success quorum before completing load close - Does this need documentation: No
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Summary: Loads can reach the ordinary replica quorum before the configured minimum number of replicas in each availability zone has finished. Pass backend locations and the cross-AZ quorum policy through optional Thrift fields, wait for the per-AZ requirement in both BE tablet writers, clamp each requirement to the replicas actually present, and exclude replicas with version gaps. The authoritative commit check is provided separately by #66751. Precise tablet-level quorum-success accounting is intentionally deferred to follow-up work.
Related PR: #66751
Release note
Support waiting for configured cross-AZ successful replicas during load.
Check List (For Author)
ENABLE_UNITY_BUILD=OFF ./run-be-ut.sh --run --filter=TestVTabletWriterV2.* -j16; blocked during CMake configuration because current master references missingbe/src/storage/compaction/collection_statistics.cppbuild-support/clang-format.shandbuild-support/check-format.shwith clang-format 16 passedbuild-support/run-clang-tidy.sh --build-dir be/ut_build_ASANattempted; blocked by a toolchainstddef.hlookup failure and pre-existing diagnosticsWhat problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)