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 2021/05/19 00:08:16 UTC

[GitHub] [pulsar] devinbost opened a new issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

devinbost opened a new issue #10632:
URL: https://github.com/apache/pulsar/issues/10632


   I noticed that I'm occasionally getting this when I restart the brokers built from master. 
   @congbobo184 FYI. 
   
   ```
   May 18 17:54:44 fab09 45c19a421b40: 2021-05-18T23:54:44,160 [bookkeeper-ml-workers-OrderedExecutor-4-0] ERROR org.apache.pulsar.broker.transaction.pendingack.impl.MLPendingAckStoreProvider - Open MLPendingAckStore managedLedger failed.
       May 18 17:54:44 fab09 45c19a421b40: org.apache.bookkeeper.mledger.ManagedLedgerException$ManagedLedgerNotFoundException: org.apache.bookkeeper.mledger.ManagedLedgerException$MetadataNotFoundException: Managed ledger not found
       May 18 17:54:44 fab09 45c19a421b40: Caused by: org.apache.bookkeeper.mledger.ManagedLedgerException$MetadataNotFoundException: Managed ledger not found
       May 18 17:54:44 fab09 45c19a421b40: 2021-05-18T23:54:44,160 [bookkeeper-ml-workers-OrderedExecutor-4-0] ERROR org.apache.pulsar.broker.transaction.pendingack.impl.PendingAckHandleImpl - PendingAckHandleImpl init fail! TopicName : persistent://public/functions/metadata, SubName: c-pulsar-cluster-1-fw-broker09.example.com-8443-function-metadata-tailer-reader-612802ab19
       May 18 17:54:44 fab09 45c19a421b40: java.util.concurrent.CompletionException: org.apache.bookkeeper.mledger.ManagedLedgerException$ManagedLedgerNotFoundException: org.apache.bookkeeper.mledger.ManagedLedgerException$MetadataNotFoundException: Managed ledger not found
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:704) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.pulsar.broker.transaction.pendingack.impl.MLPendingAckStoreProvider$1.openLedgerFailed(MLPendingAckStoreProvider.java:81) ~[org.apache.pulsar-pulsar-broker-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl.lambda$asyncOpen$9(ManagedLedgerFactoryImpl.java:424) ~[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(CompletableFuture.java:970) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) ~[?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryImpl$2.initializeFailed(ManagedLedgerFactoryImpl.java:419) ~[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl$1.operationFailed(ManagedLedgerImpl.java:376) ~[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.bookkeeper.mledger.impl.MetaStoreImpl.lambda$getManagedLedgerInfo$2(MetaStoreImpl.java:87) ~[org.apache.pulsar-managed-ledger-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) [?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) [?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at org.apache.bookkeeper.common.util.OrderedExecutor$TimedRunnable.run(OrderedExecutor.java:203) [org.apache.bookkeeper-bookkeeper-common-4.13.0.jar:4.13.0]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
       May 18 17:54:44 fab09 45c19a421b40: #011at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [io.netty-netty-common-4.1.63.Final.jar:4.1.63.Final]
       May 18 17:54:44 fab09 45c19a421b40: #011at java.lang.Thread.run(Thread.java:829) [?:?]
       May 18 17:54:44 fab09 45c19a421b40: Caused by: org.apache.bookkeeper.mledger.ManagedLedgerException$ManagedLedgerNotFoundException: org.apache.bookkeeper.mledger.ManagedLedgerException$MetadataNotFoundException: Managed ledger not found
       May 18 17:54:44 fab09 45c19a421b40: Caused by: org.apache.bookkeeper.mledger.ManagedLedgerException$MetadataNotFoundException: Managed ledger not found
   ```


-- 
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



[GitHub] [pulsar] devinbost commented on issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #10632:
URL: https://github.com/apache/pulsar/issues/10632#issuecomment-844240119


   @congbobo184 Yes, I believe so. 


-- 
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



[GitHub] [pulsar] congbobo184 commented on issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

Posted by GitBox <gi...@apache.org>.
congbobo184 commented on issue #10632:
URL: https://github.com/apache/pulsar/issues/10632#issuecomment-843936250


   @devinbost does this topic allowed auto create?


-- 
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



[GitHub] [pulsar] devinbost commented on issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

Posted by GitBox <gi...@apache.org>.
devinbost commented on issue #10632:
URL: https://github.com/apache/pulsar/issues/10632#issuecomment-844446283


   @congbobo184 I double-checked, and these values are not specified in my broker.conf:
   
   ```
   allowAutoSubscriptionCreation
   allowAutoTopicCreation
   allowAutoTopicCreationType
   ```
   
   So, they would be taking on default values.


-- 
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



[GitHub] [pulsar] codelipenghui commented on issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #10632:
URL: https://github.com/apache/pulsar/issues/10632#issuecomment-1058890208


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


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] congbobo184 commented on issue #10632: [Transaction] Open MLPendingAckStore managedLedger failed

Posted by GitBox <gi...@apache.org>.
congbobo184 commented on issue #10632:
URL: https://github.com/apache/pulsar/issues/10632#issuecomment-846722444


   @devinbost  do you check the namespace or topic policy?  open pendingAckStore manageLedger use topic manageLedger config, the default config is `true`. Print the log the config `createIfMissing` must be `false`.


-- 
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