Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1398

Sort out sessions and causal consistency support for raw query methods

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6
    • 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.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: