reschke commented on code in PR #342:
URL:
https://github.com/apache/jackrabbit-filevault/pull/342#discussion_r1691578934
##########
vault-core/src/main/java/org/apache/jackrabbit/vault/fs/impl/io/DocViewImporter.java:
##########
@@ -990,13 +991,20 @@ private void removeReferences(@NotNull Node node) throws
ReferentialIntegrityExc
Optional<String> identifier = ni.getIdentifier();
// try to set uuid via sysview import if it differs from existing one
if (identifier.isPresent() &&
!node.getIdentifier().equals(identifier.get()) &&
!"rep:root".equals(ni.getPrimaryType().orElse(""))) {
+ long startTime = System.currentTimeMillis();
+ String previousIdentifier = node.getIdentifier();
+ log.info("Node stashing for {} starting, existing identifier: {},
new identifier: {}, import mode: {}",
Review Comment:
FWIW, there's also
---
for (String referencePath : removableReferencePaths) {
log.info("Remove reference towards {} at {}",
node.getIdentifier(), referencePath);
session.removeItem(referencePath);
}
---
--
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]