Consider making FCV checks for $-prefixed field names

XMLWordPrintableJSON

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

      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 - Query Team (Inactive)
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: