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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.11
    • API, GridFS
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: