Remove $exists clause once master is no longer cross-compatible with MongoDB versions <= 3.2

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Under SERVER-24506 we are introducing a ListCollectionFilter class, used to request only views or collections from the listCollections command. For backward compatibility with MongoDB 3.2 and older, the collection filter is specified as:

      {$or: [{type: "collection"},{type: {$exists: false}}]}
      

      Once master is no longer cross-compatible with versions of MongoDB 3.2 or under are no longer supported, this can be simplified to:

      {type: "collection"}
      

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: