-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
Currently find_raw_batches and aggregate_raw_batches do not support sessions. The reasoning is that they both use OP_GET_MORE, and, currently, find_raw_batches uses OP_QUERY rather than the find command.
Both may be able to support sessions, and therefore support causal consistency. A prerequisite for find_raw_batches is determining if the find command can be used like the aggregate command with an initial batch size of 0. We also have to determine if the causal behavior of OP_GET_MORE matches the causal behavior of the getMore command.