Update with $set of many array elements can be super slow to apply

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.3
    • Component/s: Querying
    • None
    • Query
    • ALL
    • Hide

      ./mongo o.js

      Show
      ./mongo o.js
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See attached repro. I ran VTune on it and it seems to be 50% in FieldRefSet::insert and 50% in pathsupport::findLongestPrefix; see attached screenshot for details.

        1. Screenshot_20170303_161455.png
          105 kB
          Eric Milkie
        2. o.js
          2.61 MB
          Eric Milkie

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: