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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Query 2019-11-18
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: