ierandra commented on code in PR #2436:
URL: https://github.com/apache/jackrabbit-oak/pull/2436#discussion_r2260894944
##########
oak-segment-azure/src/main/java/org/apache/jackrabbit/oak/segment/azure/AzureJournalFile.java:
##########
@@ -245,23 +248,22 @@ private void createNextFile(int suffix) throws
IOException {
}
private int parseCurrentSuffix() {
- String name = AzureUtilities.getName(currentBlob);
Review Comment:
this is because the `journalNamePrefix` = `rootPrefix + "/journal.log"`
and the result of `AzureUtilities.getName(currentBlob);` = `journal.log` or
`journal.log.001`
however is we change it to `currentBlob.getBlobName();` = `rootPrefix +
"/journal.log"` or `rootPrefix + "/journal.log.001"`
--
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]