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

Sort out sessions and causal consistency support for raw query methods

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: