You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/09/01 06:50:46 UTC
[GitHub] [pulsar] BewareMyPower commented on issue #7941: Consumer can't get messages with earliest position subscription type under some circumstances
BewareMyPower commented on issue #7941:
URL: https://github.com/apache/pulsar/issues/7941#issuecomment-684479609
I also reproduced the problem, though a little different. When I start 3rd consumer, it cannot consume any messages.
I found these logs from the broker:
```
14:42:36.274 [bookkeeper-ml-workers-OrderedExecutor-3-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
java.lang.ArrayIndexOutOfBoundsException: null
/* a lot of the same logs */
14:42:37.488 [bookkeeper-ml-workers-OrderedExecutor-3-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
java.lang.ArrayIndexOutOfBoundsException: null
```
Also, there're some `ManagedLedgerException` logs around the large amount `ArrayIndexOutOfBoundsException` logs
```
14:36:04.708 [bookkeeper-ml-workers-OrderedExecutor-3-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
java.lang.ArrayIndexOutOfBoundsException: null
14:36:04.744 [pulsar-io-23-15] WARN org.apache.bookkeeper.mledger.impl.EntryCacheImpl - failed to read entries for 4726-4726:476113
java.lang.ArrayIndexOutOfBoundsException: null
14:36:04.745 [pulsar-io-23-15] WARN org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/my-topic-partition-1][SubscriptionName-new] Error while replaying entries
org.apache.bookkeeper.mledger.ManagedLedgerException: Unknown exception
14:36:04.802 [pulsar-io-23-15] WARN org.apache.bookkeeper.mledger.impl.EntryCacheImpl - failed to read entries for 4726-4726:476184
java.lang.ArrayIndexOutOfBoundsException: null
14:36:04.803 [pulsar-io-23-15] WARN org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/my-topic-partition-1][SubscriptionName-new] Error while replaying entries
org.apache.bookkeeper.mledger.ManagedLedgerException: Unknown exception
14:36:04.806 [bookkeeper-ml-workers-OrderedExecutor-3-0] WARN org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/my-topic-partition-1][SubscriptionName-new] Error while replaying entries
org.apache.bookkeeper.mledger.ManagedLedgerException: Unknown exception
14:36:04.864 [bookkeeper-ml-workers-OrderedExecutor-3-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
java.lang.ArrayIndexOutOfBoundsException: null
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org