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

Handle stale config errors and refresh targeters for bulkWrite

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication

      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.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            lingzhi.deng@mongodb.com Lingzhi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: