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

Delete subscription costs 60 seconds, bookkeeper-ml-workers-OrderedExecutor hang, java.util.concurrent.CompletableFuture$UniAccept took too long 60007267 micros to execute. #9234

Closed
shoothzj opened this issue Jan 19, 2021 · 1 comment
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@shoothzj
Copy link
Member

shoothzj commented Jan 19, 2021

Describe the bug

2021-01-19 04:07:03,560Z [bookkeeper-ml-workers-OrderedExecutor-0-0] WARN  org.apache.bookkeeper.common.util.OrderedExecutor - Runnable java.util.concurre     nt.CompletableFuture$UniAccept@78d636f0:class java.util.concurrent.CompletableFuture$UniAccept took too long 60007267 micros to execute.

Then the thread's debug log

2021-01-19 04:06:03,552Z [bookkeeper-ml-workers-OrderedExecutor-0-0] DEBUG org.apache.bookkeeper.mledger.impl.EntryCacheImpl - [15e6e9ef41774be2b0823235de86e9ae/routingdata/persistent/routingdata_3e304e9d-3421-42bf-93ee-8d09971c230d-partition-0] Invalidated entries up to 849979:16 - Entries removed: 0 - Size removed: 0
2021-01-19 04:06:03,552Z [bookkeeper-ml-workers-OrderedExecutor-0-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [15e6e9ef41774be2b0823235de86e9ae/routingdata/persistent/routingdata_3e304e9d-3421-42bf-93ee-8d09971c230d-partition-0] [ab7fd922-8c3e-43eb-b4f9-cbf13972a9d2] Deleted cursor
2021-01-19 04:06:03,552Z [bookkeeper-ml-workers-OrderedExecutor-0-0] DEBUG org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://15e6e9ef41774be2b0823235de86e9ae/routingdata/routingdata_3e304e9d-3421-42bf-93ee-8d09971c230d-partition-0][ab7fd922-8c3e-43eb-b4f9-cbf13972a9d2] Cursor deleted successfully
2021-01-19 04:07:03,560Z [bookkeeper-ml-workers-OrderedExecutor-0-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentSubscription - [persistent://15e6e9ef41774be2b0823235de86e9ae/routingdata/routingdata_3e304e9d-3421-42bf-93ee-8d09971c230d-partition-0][ab7fd922-8c3e-43eb-b4f9-cbf13972a9d2] Successfully deleted subscription
2021-01-19 04:07:03,560Z [bookkeeper-ml-workers-OrderedExecutor-0-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://15e6e9ef41774be2b0823235de86e9ae/routingdata/routingdata_3e304e9d-3421-42bf-93ee-8d09971c230d-partition-0][ab7fd922-8c3e-43eb-b4f9-cbf13972a9d2] The subscription was deleted due to expiration

And the pulsar-msg-expiry-monitor hangs too.
To Reproduce
Currently, I have no idea to reproduce the probleam.

Expected behavior
In other environment, it executes quickly.

Desktop (please complete the following information):

  • OS: Linux, Huawei Euler OS

Additional context
Full debug log
04.zip

@codelipenghui
Copy link
Contributor

@shoothzj Which version are you using? And is it possible to make a thread dump?

This issue was closed.
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

2 participants