Make ReplicationCoordinatorImpl::getLatestWriteOpTime return StatusWith<OpTime>

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc4, 4.7.0
    • Affects Version/s: 4.4.0-rc3
    • Component/s: Replication
    • None
    • Fully Compatible
    • v4.4
    • Repl 2020-05-18
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Observed while dogfooding on an internal cluster. After upgrade, whenever the automation agent would write to local.clustermanager, we would throw this uassert:

      https://github.com/mongodb/mongo/blob/f0d436d8a5f169d5ae992073e949823b64e27795/src/mongo/db/repl/replication_coordinator_impl.cpp#L2312-L2314

            Assignee:
            Lingzhi Deng
            Reporter:
            Kelsey Schubert
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: