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 #6987]feat:Add LMQ quantity check #6988

Closed
wants to merge 1 commit into from

Conversation

humkum
Copy link
Contributor

@humkum humkum commented Jul 3, 2023

Which Issue(s) This PR Fixes

Fixes #6987

@@ -529,6 +529,13 @@ private synchronized RemotingCommand deleteTopic(ChannelHandlerContext ctx,
}
}

if (MixAll.isLmq(topic)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

asynchronously delete is better

return PutMessageStatus.PUT_OK;
}

private boolean isLmqConsumeQueueNumExceeded() {
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO, you should split two patches:

  1. add delete cq logic
  2. limit queue number

Copy link

github-actions bot commented Jul 5, 2024

This PR is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this PR.

@github-actions github-actions bot added the stale label Jul 5, 2024
Copy link

github-actions bot commented Jul 8, 2024

This PR was closed because it has been inactive for 3 days since being marked as stale.

@github-actions github-actions bot closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Add LMQ quantity check
2 participants