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

Post-change lookup uasserts for sharded collection on single-shard cluster

    • Fully Compatible
    • ALL
    • Query 2017-11-13

      In cases where an aggregation on a sharded collection can be targeted to a single shard, we simply forward the pipeline to that shard and store the resulting cursor on the mongoS. Aggregations which start with $changeStream are targeted at all shards, but on a single-shard cluster this means that the entire pipeline will be forwarded, unsplit, to that shard. When we then attempt to lookup the post-change image, we hit the uassert here which prevents MongodProcessInterface from creating an internal pipeline on a collection that is sharded.

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: