Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-5555: Compacted topics can't be deleted - 500 Internal Server Error #18

Open
sijie opened this issue Dec 26, 2019 · 1 comment
Open

Comments

@sijie
Copy link
Member

sijie commented Dec 26, 2019

Original Issue: apache#5555


Describe the bug
500 Internal Server error when trying to delete compacted topic.

To Reproduce
Run python test suite.

After running the test suite several times, I'm left with a bunch of topics which can't be deleted:

$ ../../bin/pulsar-admin topics list public/default
"persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
"persistent://public/default/compaction_81a36b03-54bd-4019-9189-4c5de65ecb14"
"persistent://public/default/compaction_cef2af19-6fad-4e91-b1d2-7c98c7119650"
"persistent://public/default/compaction_e748f6fc-5104-4fd2-af65-d316f83079b7"
"persistent://public/default/compaction_49594c8d-9dc3-42cf-bfd0-330ac4a083e8"
"persistent://public/default/compaction_56e01255-80ac-4390-a34a-3bb81ecc17a4"
"persistent://public/default/compaction_dd7c85e6-807a-4444-aa77-815a41f4bdf4"
"persistent://public/default/compaction_439d22a6-9e75-4e03-9a28-2ee849b04104"
"persistent://public/default/compaction_48f1ac1e-24dd-411d-ad63-ac99c549ded6"

$ ../../bin/pulsar-admin topics delete "persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
10:39:48.073 [AsyncHttpClient-5-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1?force=false] Failed to perform http delete request: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
HTTP 500 Internal Server Error

Reason: HTTP 500 Internal Server Error

$ ../../bin/pulsar-admin topics delete -f "persistent://public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1"
10:41:54.772 [AsyncHttpClient-5-1] WARN  org.apache.pulsar.client.admin.internal.BaseResource - [http://localhost:8080/admin/v2/persistent/public/default/compaction_7011c5e5-8f4a-4388-83bf-a0f6407262a1?force=true] Failed to perform http delete request: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
HTTP 500 Internal Server Error

Reason: HTTP 500 Internal Server Error

Expected behavior

  • Topic to be deleted, or:
  • a sensible error message returned explaining why the deletion cannot be done
@sijie
Copy link
Member Author

sijie commented Feb 5, 2020

@zymap to sync up with @fantapsody to see if the issues is related to what @fantapsody is working on.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants