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

[Bug] Broker cannot always shutdown gracefully #23982

Open
2 of 3 tasks
lhotari opened this issue Feb 13, 2025 · 0 comments
Open
2 of 3 tasks

[Bug] Broker cannot always shutdown gracefully #23982

lhotari opened this issue Feb 13, 2025 · 0 comments
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@lhotari
Copy link
Member

lhotari commented Feb 13, 2025

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

master

Minimal reproduce step

Modify cleanup in InmemoryTopicPoliciesServiceServiceTest and run it. This will timeout:

    @AfterClass
    @Override
    protected void cleanup() throws Exception {
        admin.brokers().shutDownBrokerGracefully(0, false)
                .get(15, TimeUnit.SECONDS);
        super.internalCleanup();
    }

What did you expect to see?

The broker should be able to shutdown using the graceful shutdown API.

What did you see instead?

The shutdown timed out.

Anything else?

The shutdown times out.

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@lhotari lhotari added the type/bug The PR fixed a bug or issue reported a bug label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

1 participant