Skip to content

branch-4.1:[opt](maxcompute)Allocate write block ids from FE and add catalog-level write_max_block_bytes prop. (#62578)#62855

Open
hubgeter wants to merge 1 commit intoapache:branch-4.1from
hubgeter:pick_41_mc_write_block
Open

branch-4.1:[opt](maxcompute)Allocate write block ids from FE and add catalog-level write_max_block_bytes prop. (#62578)#62855
hubgeter wants to merge 1 commit intoapache:branch-4.1from
hubgeter:pick_41_mc_write_block

Conversation

@hubgeter
Copy link
Copy Markdown
Contributor

Backport #62578

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

Backport apache#62578 so branch-4.1 uses FE-side MaxCompute block id allocation and the catalog-level write block size threshold. The conflict was limited to FrontendServiceImplTest, where branch-4.1 has a different authentication integration test shape from master.

Constraint: branch-4.1 FrontendServiceImplTest still uses PrintableMap and JMockit-style ExecuteEnv mocking
Rejected: Import master-only role mapping/token test helpers | outside this PR and unnecessary for the branch-4.1 conflict
Confidence: medium
Scope-risk: moderate
Directive: Keep branch-4.1 authentication integration assertions on PrintableMap unless the datasource masking API is backported
Tested: git diff --cached --check; checked FrontendServiceImplTest has no conflict markers
Not-tested: FE UT blocked because thirdparty/installed/bin/protoc and thrift are missing in this checkout
Related: apache#62578
@hubgeter hubgeter requested a review from yiguolei as a code owner April 27, 2026 04:55
@hello-stephen
Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hubgeter
Copy link
Copy Markdown
Contributor Author

run buildall

@hubgeter hubgeter changed the title brancj-4.1:[opt](maxcompute)Allocate write block ids from FE and add catalog-level write_max_block_bytes prop. (#62578) branch-4.1:[opt](maxcompute)Allocate write block ids from FE and add catalog-level write_max_block_bytes prop. (#62578) Apr 27, 2026
@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 26.09% (18/69) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 3.60% (4/111) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.53% (26332/36814)
Line Coverage 54.46% (279284/512823)
Region Coverage 51.81% (232223/448195)
Branch Coverage 53.17% (100351/188733)

@hello-stephen
Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.00% (0/69) 🎉
Increment coverage report
Complete coverage report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants