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

Disallow dotted metaField when parsing $_internalUnpackBucket

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query Optimization 2021-04-05

      The metaField is not intended to be an arbitrary path. We should uassert in the $_internalUnpackBucket parser if the user-specified metaField is a dotted path, and we should add a test to verify this behavior in document_source_internal_unpack_bucket_test/unpack_bucket_exec_test.cpp

            Assignee:
            hana.pearlman@mongodb.com Hana Pearlman
            Reporter:
            hana.pearlman@mongodb.com Hana Pearlman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: