Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](cloud-schema-change) Write schema change jobs to a deserialized pb buffer rather than a new one #38210

Merged

Conversation

TangSiyang2001
Copy link
Collaborator

Proposed changes

Currently, when starting a schema change job, job info will be persists in an new created protobuf struct rather than the original stored one, which will lead to compation job losing and result in failed to lease compaction job.

Therefore, write the newly created schema job info into the deserialized proto buffer of the original job info to fix the job info lose.

@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.

@TangSiyang2001
Copy link
Collaborator Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

w41ter
w41ter previously approved these changes Jul 22, 2024
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 22, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

Copy link
Contributor

PR approved by anyone and no changes requested.

@TangSiyang2001
Copy link
Collaborator Author

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jul 23, 2024
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

dataroaring
dataroaring previously approved these changes Jul 24, 2024
Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 24, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@TangSiyang2001
Copy link
Collaborator Author

run buildall

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jul 24, 2024
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@TangSiyang2001 TangSiyang2001 force-pushed the fix-ms-compaction-job-lose branch from b33f8cc to dd5ee0f Compare July 24, 2024 03:32
@TangSiyang2001
Copy link
Collaborator Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@TangSiyang2001 TangSiyang2001 force-pushed the fix-ms-compaction-job-lose branch from dd5ee0f to 0976ef6 Compare July 24, 2024 04:03
@TangSiyang2001
Copy link
Collaborator Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@TangSiyang2001 TangSiyang2001 force-pushed the fix-ms-compaction-job-lose branch from 0976ef6 to 169e3fc Compare July 24, 2024 06:20
@TangSiyang2001
Copy link
Collaborator Author

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@TangSiyang2001
Copy link
Collaborator Author

run cloud p1

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 26, 2024
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@dataroaring dataroaring merged commit 5fc67be into apache:master Jul 26, 2024
30 checks passed
dataroaring pushed a commit that referenced this pull request Jul 27, 2024
… pb buffer rather than a new one (#38210)

## Proposed changes

Currently, when starting a schema change job, job info will be persists
in an new created protobuf struct rather than the original stored one,
which will lead to compation job losing and result in `failed to lease
compaction job`.

Therefore, write the newly created schema job info into the deserialized
proto buffer of the original job info to fix the job info lose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/3.0.1-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants