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