Skip to content

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

Closed

Description

@hezhangjian

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

Activity

  1. added
    type/bug
    on Jan 19, 2021
  2. codelipenghui commented on Jan 30, 2021

    @codelipenghui
    Contributor

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions