You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/10/18 08:10:45 UTC
[GitHub] [bookkeeper] leizhiyuan commented on a diff in pull request #3437: Issue #2220: support skip invalid record in recovery
leizhiyuan commented on code in PR #3437:
URL: https://github.com/apache/bookkeeper/pull/3437#discussion_r997868244
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java:
##########
@@ -897,7 +898,12 @@ public long scanJournal(long journalId, long journalPos, JournalScanner scanner)
continue;
}
isPaddingRecord = true;
- } else {
+ } else if (skipInvalidRecord){
+ LOG.warn("Invalid record found with negative length: {},because of " +
Review Comment:
ok
--
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@bookkeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org