zhuhai1221 opened a new issue, #4539: URL: https://github.com/apache/bookkeeper/issues/4539
https://github.com/apache/bookkeeper/blob/b6607263910cf3850c510272c833675b852d9c6e/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/ldb/SingleDirectoryDbLedgerStorage.java#L674 When Pulsar's persistence is configured with `EnsembleSize != WriteQuorum`, for example, `EnsembleSize=2` and `WriteQuorum=1`, entry prefetching fails. If there is a backlog of messages, after the RocksDB index cache is evicted, the disk read rate becomes very slow, and entry prefetching fails because the `entryId` is validated, and at this point, the `entryId` is discontinuous. Is it possible to read entries without validating the `entryId`? use org.apache.bookkeeper.bookie.storage.EntryLogger#readEntry(long) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
