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

Raise informative error message when attempting a GridFS operation in a transaction

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11
    • Component/s: API, GridFS
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      PyMongo's gridfs implementation has support for sessions but does not work with multi-document transactions. We should:

      • raise informative error message when attempting a GridFS operation in a transaction.
      • document that transactions are not supported in GridFS.

      See DRIVERS-559 for more motivation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shane.harvey Shane Harvey
              Reporter:
              shane.harvey Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: