Skip to content

Conversation

@poorbarcode
Copy link
Contributor

Motivation

There are two scenarios that may leave a failed topic creation future in brokerService.topics because forgot to remove the failed future from the map, which leads to the topic never being loaded up successfully.

  • Topic load and delete execute at the same time: see the test testTopicLoadAndDeleteAtTheSameTime
  • Check ownership fails: see the test testCheckOwnerShipFails

Modifications

Remove the failed future if load topic fails

Documentation

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

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode added this to the 4.0.0 milestone Aug 16, 2024
@poorbarcode poorbarcode self-assigned this Aug 16, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Aug 16, 2024
@poorbarcode poorbarcode requested a review from lhotari August 16, 2024 17:53
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@poorbarcode poorbarcode merged commit 9edaa85 into apache:master Aug 18, 2024
lhotari pushed a commit that referenced this pull request Aug 19, 2024
… failed topic creation future (#23184)

(cherry picked from commit 9edaa85)
lhotari pushed a commit that referenced this pull request Aug 19, 2024
… failed topic creation future (#23184)

(cherry picked from commit 9edaa85)
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 22, 2024
… failed topic creation future (apache#23184)

(cherry picked from commit 9edaa85)
(cherry picked from commit 34c6fa0)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Aug 23, 2024
… failed topic creation future (apache#23184)

(cherry picked from commit 9edaa85)
(cherry picked from commit 34c6fa0)
grssam pushed a commit to grssam/pulsar that referenced this pull request Sep 4, 2024
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Sep 4, 2024
… failed topic creation future (apache#23184)

(cherry picked from commit 9edaa85)
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
hanmz pushed a commit to hanmz/pulsar that referenced this pull request Feb 12, 2025
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.

3 participants