Skip to content

Topic can't unsubscribe subscription #13787

Closed

Description

@xuesongxs

Describe the bug
Pulsar: v2.8.1
Topic partition: 20

There are three subscriptions on this topic. Now delete the second subscription. As a result, another partition has not been deleted. It shows that there are active consumer processes, we go to the host and check the process through this port. We find that there is no process, Then we can't delete it through unsubscribe.

image
image

bin/pulsar-admin topics unsubscribe -s housekeeping_ignite persistent://pulsar/iagw/21_rate_out_b
17:35:36.602 [AsyncHttpClient-7-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:30200/admin/v2/persistent/pulsar/iagw/21_rate_out_b/subscription/housekeeping_ignite?force=false] Failed to perform http delete request: javax.ws.rs.NotFoundException: HTTP 404 Not Found
Subscription not found

Reason: Subscription not found

Activity

  1. added
    type/bug
    on Jan 17, 2022
  2. codelipenghui commented on Jan 17, 2022

    @codelipenghui
    Contributor

    Have you tried to use the PulsarAdmin to list the subscriptions or check the active consumers/producers? I'm not sure if the problem is related to Pulsar Manager or Pulsar, PulsarAdmin can help to determine the problem

  3. xuesongxs commented on Jan 19, 2022

    @xuesongxs
    ContributorAuthor

    Have you tried to use the PulsarAdmin to list the subscriptions or check the active consumers/producers? I'm not sure if the problem is related to Pulsar Manager or Pulsar, PulsarAdmin can help to determine the problem
    bin/pulsar-admin topics partitioned-stats:
    image

  4. xuesongxs commented on Jan 19, 2022

    @xuesongxs
    ContributorAuthor

    Prompt "subscription has active consumers" when deleting topic, but no consumers are actually connected.
    It may be that the consumerList is not deleted in the consumerList after the consumer is disconnected.
    image

  5. xuesongxs commented on Jan 19, 2022

    @xuesongxs
    ContributorAuthor

    Looking at the broker process stack, I feel that this problem can not be solved without restarting the broker.
    broker.txt
    broker1.txt

  6. github-actions commented on Feb 26, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  7. self-assigned this
    on Mar 31, 2022
  8. poorbarcode commented on Apr 7, 2022

    @poorbarcode
    Contributor

    @xuesongxs Do you see the same thing happening here #15050, the error message seems different

  9. github-actions commented on May 8, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  10. github-actions commented on Jun 8, 2022

    @github-actions

    The issue had no activity for 30 days, mark with Stale label.

  11. Technoboy- commented on Dec 25, 2023

    @Technoboy-
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stalelifecycle/staletype/bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions