Skip to content

[improve][Rest api]Remove duplication validateTopicOwnershipAsync - #15120

Merged
Jason918 merged 1 commit into
apache:masterfrom
gaozhangmin:remove-duplication-validateTopicOwnershipAsync
Apr 21, 2022
Merged

[improve][Rest api]Remove duplication validateTopicOwnershipAsync#15120
Jason918 merged 1 commit into
apache:masterfrom
gaozhangmin:remove-duplication-validateTopicOwnershipAsync

Conversation

@gaozhangmin

@gaozhangmin gaozhangmin commented Apr 11, 2022

Copy link
Copy Markdown
Contributor

Motivation

eg, method internalGetSubscriptions invokes validateTopicOwnershipAsync twice, because method internalGetSubscriptionsForNonPartitionedTopic also invoked validateTopicOwnershipAsync.

Modifications

Removed validateTopicOwnershipAsync call in method internalGetSubscriptionsForNonPartitionedTopic.

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • no-need-doc
    (Please explain why)

@github-actions

Copy link
Copy Markdown

@gaozhangmin:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions

Copy link
Copy Markdown

@gaozhangmin:Thanks for providing doc info!

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Apr 11, 2022
@gaozhangmin
gaozhangmin force-pushed the remove-duplication-validateTopicOwnershipAsync branch from 5a5762a to d1405af Compare April 11, 2022 12:40
@gaozhangmin

Copy link
Copy Markdown
Contributor Author

/pulsarbot run-failure-checks

@Jason918 Jason918 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@gaozhangmin
gaozhangmin force-pushed the remove-duplication-validateTopicOwnershipAsync branch from d1405af to 1e64bb6 Compare April 15, 2022 02:11
@gaozhangmin

Copy link
Copy Markdown
Contributor Author

@Technoboy- PTAL Thx.

@Technoboy- Technoboy- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LTGM.
@mattisonchao Please help review.

@mattisonchao mattisonchao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Jason918
Jason918 merged commit 151f1d1 into apache:master Apr 21, 2022
codelipenghui pushed a commit that referenced this pull request Apr 28, 2022
Co-authored-by: gavingaozhangmin <gavingaozhangmin@didiglobal.com>
(cherry picked from commit 151f1d1)
@codelipenghui codelipenghui added this to the 2.11.0 milestone Apr 28, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request May 9, 2022
Co-authored-by: gavingaozhangmin <gavingaozhangmin@didiglobal.com>
(cherry picked from commit 151f1d1)
(cherry picked from commit c6c7d6d)
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.

5 participants