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

Consider making FCV checks for $-prefixed field names

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None

      Description

      In 4.2, $-prefixed field names were banned everywhere in agg.

      In 4.4, there is a small whitelist of field names permitted to start with $.

       

      If a user were to create a view, or a validator (and use $expr) with a $-prefixed field name in FCV 4.2, they may not be able to downgrade without dropping views/collections with a 4.4. binary.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: