stefan-egli commented on code in PR #1363: URL: https://github.com/apache/jackrabbit-oak/pull/1363#discussion_r1549457402
########## oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/Commit.java: ########## @@ -352,7 +352,11 @@ private void applyToDocumentStore(RevisionVector baseBranchRevision) JournalEntry doc = JOURNAL.newDocument(store); doc.modified(modifiedNodes); Revision r = revision.asBranchRevision(); - store.create(JOURNAL, singletonList(doc.asUpdateOp(r))); + boolean success = store.create(JOURNAL, singletonList(doc.asUpdateOp(r))); + if (!success) { + LOG.error("Failed to update journal for revision {}", r); + LOG.debug("Failed to update journal for revision {} with doc {}", r, doc); Review Comment: ```suggestion LOG.debug("Failed to update journal for revision {} with doc {}", r, doc.format()); ``` IIUC JournalEntry.toString() only logs the id, so it would probably have to be something like `format()` -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org