-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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](job)Fix CAS competition failure leading to message publishing failure. #45018
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
run feut |
…ailure. tryPublish returns false in case of CAS competition failure or when the queue is full. Therefore, we need to first check if there is enough capacity and then use the publish method for serial publishing.
d638637
to
85028e2
Compare
run buildall |
dc477f9
to
f7e26af
Compare
run buildall |
PR approved by at least one committer and no changes requested. |
…ailure. (#45018) ### What problem does this PR solve? **tryPublish** returns false in case of CAS competition failure or when the queue is full. Therefore, we need to first check if there is enough capacity and then use the **publish** method for serial publishing.
…ailure. (#45018) ### What problem does this PR solve? **tryPublish** returns false in case of CAS competition failure or when the queue is full. Therefore, we need to first check if there is enough capacity and then use the **publish** method for serial publishing.
…publishing failure. #45018 (#45030) Cherry-picked from #45018 Co-authored-by: Calvin Kirs <[email protected]>
…publishing failure. #45018 (#45029) Cherry-picked from #45018 Co-authored-by: Calvin Kirs <[email protected]>
What problem does this PR solve?
tryPublish returns false in case of CAS competition failure or when the queue is full. Therefore, we need to first check if there is enough capacity and then use the publish method for serial publishing.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)