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

Value duplicates fields in the cache when used in an exclusion projection

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • ALL
    • Query 2019-11-18
    • 0

      In exclusion projection we loop over the BSONObj in the Value twice, and the BSONObjIterator is reset between the loops. Therefore each field in the object appears twice in the cache.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: