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

Only parent routers assert that additional participants have readOnly value on successful response

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-2-19, Cluster Scalability 2024-3-4

      In a certain case (TBD), participants in TransactionRouter exist with ReadOnly not set to a bool value. However this causes an improper invariant failure on p.second.readOnly != Participant::ReadOnly::kUnset in TransactionRouter::Router::getAdditionalParticipantsForResponse().

      Find and verify the code flow that properly adds participants with unset ReadOnly; remove the invariant. If the read-only state is known in this case, set it properly, or default it to true.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            israel.hsu@mongodb.com Israel Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: