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

Clear WouldChangeOwningShard errors in batch writer once successfully move the doc

    XMLWordPrintableJSON

Details

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

    Description

      We need to clear the WouldChangeOwningShard errors that we track in the batch writer once we successfully move the document. Because we will handle a WCOS error immediately rather than re-targeting and looping back around in the batch writer, these errors will not be cleared in the same way the SSV or CannotImplicitlyCreateCollection errors are. We should add unit tests to as a part of this ticket.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: