Skip to content

Conversation

@Demogorgon314
Copy link
Member

Motivation

After PR: #23040, if the metadata service is unavailable and then becomes available again, the LoadSheddingTask will not run again.

Modifications

Ensure LoadSheddingTask is scheduled after metadata service is available again by moving the isMetadataServiceAvailable check to the try block.

Documentation

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

Copy link
Contributor

@congbobo184 congbobo184 left a comment

Choose a reason for hiding this comment

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

nice catch!

@congbobo184 congbobo184 merged commit 461ffd8 into apache:master Oct 14, 2025
114 of 119 checks passed
@Demogorgon314 Demogorgon314 deleted the Demogorgon314/Ensure-LoadSheddingTask-is-scheduled-after-metadata-service-is-available-again branch October 14, 2025 08:39
lhotari pushed a commit that referenced this pull request Oct 14, 2025
…vice is available again (#24838)

Motivation
After PR: #23040, if the metadata service is unavailable and then becomes available again, the LoadSheddingTask will not run again.

Modifications
Ensure LoadSheddingTask is scheduled after metadata service is available again by moving the isMetadataServiceAvailable check to the try block.

(cherry picked from commit 461ffd8)
lhotari pushed a commit that referenced this pull request Oct 14, 2025
…vice is available again (#24838)

Motivation
After PR: #23040, if the metadata service is unavailable and then becomes available again, the LoadSheddingTask will not run again.

Modifications
Ensure LoadSheddingTask is scheduled after metadata service is available again by moving the isMetadataServiceAvailable check to the try block.

(cherry picked from commit 461ffd8)
manas-ctds pushed a commit to datastax/pulsar that referenced this pull request Oct 15, 2025
…vice is available again (apache#24838)

Motivation
After PR: apache#23040, if the metadata service is unavailable and then becomes available again, the LoadSheddingTask will not run again.

Modifications
Ensure LoadSheddingTask is scheduled after metadata service is available again by moving the isMetadataServiceAvailable check to the try block.

(cherry picked from commit 461ffd8)
(cherry picked from commit 49d4257)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Nov 6, 2025
…vice is available again (apache#24838)

Motivation
After PR: apache#23040, if the metadata service is unavailable and then becomes available again, the LoadSheddingTask will not run again.

Modifications
Ensure LoadSheddingTask is scheduled after metadata service is available again by moving the isMetadataServiceAvailable check to the try block.

(cherry picked from commit 461ffd8)
(cherry picked from commit 49d4257)
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.

4 participants