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

Make $densify behave the same in replicaset and sharded cluster when db does not exists

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • QE 2024-03-18

      On replicaset if we send an aggregation with a $densify stage with a namespace for which the database haven't been created yet and the $densify stage would produce more docsĀ  than the configured internalQueryMaxAllowedDensifyDocs parameter the aggregation will fail with 5897900 error code.

      On the other hand, if the same aggregation is executed on a sharded cluster the aggregation will simply work with no error.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: