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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 165

      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.

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

              Created:
              Updated:
              Resolved: