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

[ISSUE #4778] Fix Standalone MessageQueue does not down counter when dequeue #4779

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

karsonto
Copy link
Member

Fixes #4778

Motivation

Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.

Modifications

Describe the modifications you've done.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Pil0tXia
Pil0tXia previously approved these changes Feb 21, 2024
@Pil0tXia
Copy link
Member

please fix ci

Comment on lines 238 to 240
private MessageEntity dequeue() {
MessageEntity item = items[takeIndex++];
final MessageEntity item = items[takeIndex++];
if (takeIndex == items.length) {
Copy link
Member

@Pil0tXia Pil0tXia Feb 21, 2024

Choose a reason for hiding this comment

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

What error is caused when this final decorator is missing? It seems to have fixed CI.

@karsonto
Copy link
Member Author

The development tool prompts that modifications like this can pass the style check.

Copy link
Member

@mxsm mxsm left a comment

Choose a reason for hiding this comment

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

LGTM

@mxsm mxsm merged commit c93fc3e into apache:master Feb 21, 2024
9 checks passed
@xwm1992 xwm1992 added this to the 1.11.0 milestone Dec 18, 2024
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.

[Bug] Standalone MessageQueue does not down counter when dequeue
4 participants