Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2363

Investigate query cache behavior with transactions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None

      When transactions are used, I believe reads are done with snapshot read concern. As such if QC is enabled, it might be necessary to create a subscope for the duration of the transaction where reads would be performed again, and when a transaction is retried reads should also be perhaps performed again. Or perhaps simply flushing cache when transaction starts and when commit is started would be sufficient.

      We might need a way to reliably trigger transient errors for testing purposes.

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: