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

Sharded $lookup attempts to run shard pipeline on config server instead of shard-local config database

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • 165

    Description

      With featureFlagShardedLookup enabled, the $lookups when reading from the config.localReshardingOplogBuffer.xx namespace end up targeting the config server rather than reading locally from the shard. This leads resharding's oplog application to miss finding the relevant oplog entry containing the pre/postImage document and causes findAndModify retryable writes to error after the resharding operation completes.

      Attachments

        Activity

          People

            hana.pearlman@mongodb.com Hana Pearlman
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: