Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-926

Consider making ReadConcernMajorityNotAvailableYet a retryable error

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Retryability
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      Commits for syncing spec/prose tests

      Show
      Summary of necessary driver changes Add ReadConcernMajorityNotAvailableYet to the list of retryable reads. See C Driver implementation for reference: https://github.com/mongodb/mongo-c-driver/pull/1484 Commits for syncing spec/prose tests Sync retryable reads unified spec tests to mongodb/specifications@a0bac5c
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4752 Done 1.26.0
      CXX-2775 Backlog
      CSHARP-4825 Done 2.24.0
      GODRIVER-3030 Backlog
      JAVA-5224 Backlog
      NODE-5718 Fixed 6.9.0
      MOTOR-1200 Duplicate
      PYTHON-4016 Fixed 4.7
      PHPLIB-1295 Fixed 1.18.0
      RUBY-3339 Backlog
      RUST-1786 Fixed 2.8.0
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4752 Done 1.26.0 CXX-2775 Backlog CSHARP-4825 Done 2.24.0 GODRIVER-3030 Backlog JAVA-5224 Backlog NODE-5718 Fixed 6.9.0 MOTOR-1200 Duplicate PYTHON-4016 Fixed 4.7 PHPLIB-1295 Fixed 1.18.0 RUBY-3339 Backlog RUST-1786 Fixed 2.8.0

      This came up during testing for Safe Replica Set Reconfig.

      During a safe reconfig, the primary will drop snapshots after writing down a new config document. If a read is issued on this node before it updates its snapshot, the server fails with ReadConcernMajorityNotAvailableYet.

      The node should eventually be able to update the committed snapshot through heartbeats (2 second interval), so the read will eventually succeed. It seems like we should treat this as a retryable error.

            Assignee:
            kyle.kloberdanz@mongodb.com Kyle Kloberdanz (Inactive)
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: