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

Handle stale config errors and refresh targeters for bulkWrite

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication

    Description

      When mongos receives a bulkWrite response from a shard, it needs to iterate through the response cursor and look for StaleConfig / StaleDbVersion errors. If anything was stale for a particular namespace, we will need to note down the error and mongos needs to refresh the targeters before retargeting the remaining operations. This is similar to what we currently have (this and this) in BatchWriteExec.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: