liudezhi2098 opened a new issue #2230: bookie reads messages in batches very slowly, it takes about 300 milliseconds to read 100 URL: https://github.com/apache/bookkeeper/issues/2230 **BUG REPORT** ***Describe the bug*** bookie reads messages in batches very slowly, it takes about 300 milliseconds to read 100 - SingleDirectoryDbLedgerStorage while (count < readAheadCacheBatchSize && currentEntryLogId == firstEntryLogId) { ByteBuf entry = entryLogger.internalReadEntry(orginalLedgerId, -1, currentEntryLocation, false /* validateEntry */); - EntryLogger long thisLedgerId = sizeBuff.getLong(4); long thisEntryId = sizeBuff.getLong(12); if (thisLedgerId != ledgerId || thisEntryId != entryId) { throw new EntryLookupException.WrongEntryException( thisEntryId, thisLedgerId, ledgerId, entryId, entryLogId, pos); } because entryId = -1, an exception must be thrown here
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
