Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79401

Investigate interactions between multi-document transactions and assertReadConcernSupported

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Execution EMEA Team 2023-10-16
    • 3

      The assertReadConcernSupported method is only used by the AutoGetCollectionForRead* family of AutoGetters. As a result, normal AutoGetCollection calls are exempted from that check.

      For SERVER-77507 we integrated the assertion check into collection acquisitions and had to exempt writes from performing that check. Ideally, we would want to expand that assertion to everyone but doing so leads to this code causing issues. The transaction is writing to the config.transactions collection with the original read concern settings, leading to this assertion being hit.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: