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 2022/07/07 20:42:34 UTC

[GitHub] [pulsar] michaeljmarshall opened a new issue, #16455: ZKMetadataStore: BadVersion for /ledgers/underreplication/LAYOUT

michaeljmarshall opened a new issue, #16455:
URL: https://github.com/apache/pulsar/issues/16455

   **Describe the bug**
   When starting several bookies, I ran into this error:
   
   ```
   2022-06-27T16:15:06,204+0000 [main] ERROR org.apache.bookkeeper.server.Main - Failed to build bookie server
   java.util.concurrent.CompletionException: org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException: org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode = BadVersion for /ledgers/underreplication/LAYOUT
           at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
           at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
           at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632) ~[?:?]
           at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
           at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) ~[?:?]
           at org.apache.pulsar.metadata.impl.ZKMetadataStore.handlePutResult(ZKMetadataStore.java:210) ~[com.datastax.oss-pulsar-metadata-2.10.0.6.jar:2.10.0.6]
   ```
   
   Note that the error is in the `org.apache.pulsar.metadata.impl.ZKMetadataStore` class. After hitting the error, the bookie exited. I'm not sure what would have cause this issue, but it seems like a concurrent modification issue.
   
   **Expected behavior**
   The bookie should not fail to start without retrying first.
   
   **Additional context**
   This is on the DataStax build of pulsar 2.10. plus some commits. In looking at the code in ZKMetadataStore, there are no relevant differences.
   


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

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


[GitHub] [pulsar] github-actions[bot] commented on issue #16455: ZKMetadataStore: BadVersion for /ledgers/underreplication/LAYOUT

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16455:
URL: https://github.com/apache/pulsar/issues/16455#issuecomment-1207316093

   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