You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/12/18 10:09:00 UTC

[jira] [Created] (OAK-7074) Ensure that all Documents are read with document order traversal indexing

Chetan Mehrotra created OAK-7074:
------------------------------------

             Summary: Ensure that all Documents are read with document order traversal indexing
                 Key: OAK-7074
                 URL: https://issues.apache.org/jira/browse/OAK-7074
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: mongomk, run
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
             Fix For: 1.8


With OAK-6353 support was added for document order traversal indexing. In this mode we open a DB cursor and try to read all documents from it using document order traversal. Such a cursor may remain open for long time (2-4 hrs) and its possible that document may get reordered by the Mongo storage engine. This would result in 2 aspects to be thought about 

# Duplicate documents - Same document may appear more than once in result set 
# Possibly missed document - It may be a possibility that a document got moved and missed becoming part of cursor. 

Both these aspects would need to be handled



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)