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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: API, GridFS
    • Labels:
      None
    • Minor Change

      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.

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

              Created:
              Updated:
              Resolved: