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

_configsvrMoveChunk does not gossip the proper operationTime back to the router

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2021-11-01, Sharding EMEA 2021-11-15, Sharding EMEA 2021-11-29
    • 59

      Since after SERVER-60336 _configsvrMoveChunk runs the code that send the commands to the shards in a different thread client than the command and then joins it, the original command thread is not made aware of the operationTime returned from the shards, and thus it does not gossip it back to the router.

      To fix it, after joining the thread, the original command thread must set its lastOpTime to the system's lastOpTime

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: