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

Consider making FCV checks for $-prefixed field names

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

      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.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: