ChlineSaurus commented on code in PR #3304:
URL: https://github.com/apache/jackrabbit-oak/pull/3304#discussion_r4613787032


##########
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/diff/DiffIndexMerger.java:
##########
@@ -856,6 +859,9 @@ private static String normalizeOakString(String value) {
         if (value.startsWith("str:") || value.startsWith("nam:") || 
value.startsWith("dat:")) {
             value = value.substring("str:".length());
         }
+        if ("jcr:data".equals(propertyName) && !value.startsWith(":")) {
+            value = ":blobId:" + 
Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8));

Review Comment:
   Do I understand it right that in the beginning the checksums in such cases 
will differ, while the index stays the same? If I understand correctly it's 
only a lot of logs, so probably not a problem.



-- 
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]

Reply via email to