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 2023/05/13 15:33:09 UTC

[GitHub] [pulsar] wenjun8888 created a discussion: Error while reading ledger while reading

GitHub user wenjun8888 created a discussion: Error while reading ledger while reading

HEY GUYS:

My pulsar cluster has 3 nodes。
After a disk scale and system restart, i find same data lost.
How the size of storage is 105/102/44 ... I think one of these node got problem
Now all of them can pass bookkeeper shell bookiesanity.

But the logs said:
INFO  org.apache.bookkeeper.client.PendingReadOp - Error: Error while reading ledger while reading L111457 E10933 from bookie: 10.1.69.169:3181
23:19:48.017 [BookKeeperClientWorker-OrderedExecutor-1-0] ERROR org.apache.bookkeeper.proto.PerChannelBookieClient - Read for failed on bookie 10.1.69.169:3181 code EIO

And logs became much bigger...

Is there any way i can rebalance the data or sync data between these three node?
Thank you !

GitHub link: https://github.com/apache/pulsar/discussions/20317

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] hangc0276 added a comment to the discussion: Error while reading ledger while reading

Posted by "hangc0276 (via GitHub)" <gi...@apache.org>.
GitHub user hangc0276 added a comment to the discussion: Error while reading ledger while reading

It looks like some ledger was lost in your BookKeeper cluster.

For new data writing to the BookKeeper cluster in a balanced way, we can set `bookkeeperDiskWeightBasedPlacementEnabled=true`
https://github.com/apache/pulsar/blob/1c813fdaeb9f752b84347b5a62e219dd66e79a26/conf/broker.conf#L1071

GitHub link: https://github.com/apache/pulsar/discussions/20317#discussioncomment-6026069

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org