Bookie handle is not available - ledger=22 - operation=Failed to read entry - entry=0 #20985
-
I can't understand how this problem arises, Environment: docker+standalone+data persistence Can someone help me understand the possible reasons for this error? sincere thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Not an answer, but I'm running into a similar issue when running a standalone pulsar in a kubernetes test environments. After running for a while (potentially after the pods is restarted?), it starts getting this error. Restarting the pod doesn't help, it seems like the bookkeeper data is getting corrupted and is not able to recover. Since this is a test environment, I'm wondering if there's some setting to ignore entries that it cannot read, or some hints to look at to resolve. This is when running docker image for stateful set is started up with this command using the standard - command:
- sh
args:
- -c
- /pulsar/bin/apply-config-from-env.py /pulsar/conf/standalone.conf; exec /pulsar/bin/pulsar
standalone -nfw; |
Beta Was this translation helpful? Give feedback.
-
Having the same issue with Pulsar standalone. |
Beta Was this translation helpful? Give feedback.
-
The issue seems to match the problem description of #21421 . |
Beta Was this translation helpful? Give feedback.
-
The stability of the Rocksdb based metadata storage isn't proven. |
Beta Was this translation helpful? Give feedback.
-
Pulsar Standalone hasn't been cleanly shutting down Bookkeepers and Metadata store (RocksDb). There's a PR #22868 to fix this. This might explain why Pulsar standalone hasn't been stable with RocksDB based metadata store. |
Beta Was this translation helpful? Give feedback.
The stability of the Rocksdb based metadata storage isn't proven.
To use Zookeeper under the covers in Pulsar Standalone, pass
PULSAR_STANDALONE_USE_ZOOKEEPER=1
in the environment to the Pulsar Standalone process or container.