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][broker] Update the log print content of createSubscriptions #18024

Merged

Conversation

Pomelongan
Copy link
Contributor

Motivation

In org.apache.pulsar.broker.admin.impl.PersistentTopicsBase#createSubscriptions, when subscriptions are successfully created on the new partitions, the log print content is "successfully created new partitions", not "successfully created subscriptions on new partitions".

Modifications

In org.apache.pulsar.broker.admin.impl.PersistentTopicsBase#createSubscriptions, when subscriptions are successfully created on the new partitions, change the log printing content from "Successfully created new partitions" to "Successfully created subscriptions on new partitions".

Verifying this change

  • Make sure that the change passes the CI checks.
    This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: Pomelongan#8

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Oct 12, 2022
@Jason918 Jason918 added type/bug The PR fixed a bug or issue reported a bug area/broker labels Oct 13, 2022
@Jason918 Jason918 changed the title [fix][doc]update the log print content of createSubscriptions [fix][broker]update the log print content of createSubscriptions Oct 13, 2022
@Technoboy- Technoboy- added this to the 2.12.0 milestone Oct 13, 2022
@Technoboy- Technoboy- closed this Oct 13, 2022
@Technoboy- Technoboy- reopened this Oct 13, 2022
@Technoboy- Technoboy- changed the title [fix][broker]update the log print content of createSubscriptions [fix][broker] Update the log print content of createSubscriptions Oct 13, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 13, 2022

Codecov Report

❗ No coverage uploaded for pull request base (master@92b4708). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #18024   +/-   ##
=========================================
  Coverage          ?   51.19%           
  Complexity        ?     7125           
=========================================
  Files             ?      393           
  Lines             ?    43422           
  Branches          ?     4462           
=========================================
  Hits              ?    22230           
  Misses            ?    18724           
  Partials          ?     2468           
Flag Coverage Δ
unittests 51.19% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

@Technoboy- Technoboy- merged commit 230e7dc into apache:master Oct 14, 2022
congbobo184 pushed a commit that referenced this pull request Nov 14, 2022
@congbobo184 congbobo184 added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Nov 14, 2022
liangyepianzhou pushed a commit that referenced this pull request Dec 7, 2022
congbobo184 pushed a commit that referenced this pull request Dec 7, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jan 10, 2023
…ache#18024)

Co-authored-by: huangzegui <[email protected]>
(cherry picked from commit 230e7dc)
(cherry picked from commit 7041727)
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jan 11, 2023
…ache#18024)

Co-authored-by: huangzegui <[email protected]>
(cherry picked from commit 230e7dc)
(cherry picked from commit 7041727)
Technoboy- pushed a commit that referenced this pull request Feb 8, 2023
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.

7 participants