nfsantos commented on PR #1042:
URL: https://github.com/apache/jackrabbit-oak/pull/1042#issuecomment-1704934601

   @tihom88 This is being addressed, see line 353 of 
PipelinedMongoDownloadTask, method `childrenFilter()`. I am including below the 
logic that handles this case:
   
   ```java
           // For entries with path sizes above a certain threshold, the _id 
field contains a hash instead of the path of
           // the entry. The path is stored instead in the _path field. 
Therefore, we have to include in the filter also
           // the documents with matching _path.
           return Filters.or(
                   regex(NodeDocument.ID, Pattern.compile("^[0-9]{1,3}:" + 
quotedPath + ".*$")),
                   regex(NodeDocument.PATH, Pattern.compile(quotedPath + ".*$"))
           );
   ```


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

Reply via email to