• Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2023-05-15

      serializeDollarDbInOpDescription() is a fairly expensive call as it calls BSONObj::AddField() which makes an entirely new copy of the object. This is done on every query so it's a hot path.

      We can skip it if we're not in multi-tenant mode, which is an easy check.

            Assignee:
            colin.stolley@mongodb.com Colin Stolley
            Reporter:
            colin.stolley@mongodb.com Colin Stolley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: