Skip to content

Conversation

@heesung-sohn
Copy link
Contributor

Motivation

  • The broker could falsely return that brokers were inactive too soon if the broker registry cache was empty.

Modifications

  • Asynchronously return brokerRegistry.lookupAsync instead of using future.getNow.

Verifying this change

  • Make sure that the change passes the CI checks.

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 threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository:

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jun 12, 2024
@heesung-sohn heesung-sohn self-assigned this Jun 12, 2024
Copy link
Member

@Demogorgon314 Demogorgon314 left a comment

Choose a reason for hiding this comment

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

LGTM.

@heesung-sohn heesung-sohn reopened this Jun 13, 2024
@heesung-sohn heesung-sohn merged commit c2702e9 into apache:master Jun 13, 2024
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
(cherry picked from commit 2cf6e51)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 26, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
(cherry picked from commit 2cf6e51)
heesung-sohn added a commit to heesung-sohn/pulsar that referenced this pull request Jun 27, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
(cherry picked from commit 2cf6e51)
@heesung-sohn heesung-sohn added this to the 3.4.0 milestone Jun 27, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 27, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
(cherry picked from commit 2cf6e51)
(cherry picked from commit 9ab3f38)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 1, 2024
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)

(cherry picked from commit c2702e9)
(cherry picked from commit 2cf6e51)
(cherry picked from commit 9ab3f38)
hanmz pushed a commit to hanmz/pulsar that referenced this pull request Feb 12, 2025
…hecking if broker is active(ExtensibleLoadManagerImpl only) (apache#22899)
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.

2 participants