Skip to content

[Branch-2.1](Outfile) Fixed the problem that the concurrent Outfile wrote multiple Success files#33870

Merged
morningman merged 2 commits intoapache:branch-2.1from
BePPPower:fixOutfileSuccess2.1
Apr 19, 2024
Merged

[Branch-2.1](Outfile) Fixed the problem that the concurrent Outfile wrote multiple Success files#33870
morningman merged 2 commits intoapache:branch-2.1from
BePPPower:fixOutfileSuccess2.1

Conversation

@BePPPower
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

backport: #33016

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

BePPPower and others added 2 commits April 19, 2024 11:07
…ltiple Success files (apache#33016)

**Problem:**
When we enable concurrent `Outfile` and specify the `success_file_name`, a SUCCESS file is written for each BE instance, which is not what we expected

**solution:**
Therefore, we added a new RPC request that when the Outfile was completed, the FE sent an RPC to the Be request to write one Success file.
@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

}
}

void PInternalServiceImpl::outfile_write_success(google::protobuf::RpcController* controller,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: method 'outfile_write_success' can be made static [readability-convert-member-functions-to-static]

Suggested change
void PInternalServiceImpl::outfile_write_success(google::protobuf::RpcController* controller,
static void PInternalServiceImpl::outfile_write_success(google::protobuf::RpcController* controller,

@morningman morningman merged commit 315f6e4 into apache:branch-2.1 Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments