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

Set internalQueryAllowAllPathsIndexes server parameter at start-up in performance tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Fully Compatible
    • TIG 2018-09-24

      As described in PERF-1699, trying to set it when the test cases is load()-ed is problematic for earlier branches. Rather than trying to do it at runtime inside a pre() function, it'd be simpler to set it at start-up and be done with it.

      // TODO: Remove in SERVER-36198.
      assert.commandWorked(db.adminCommand({setParameter: 1, internalQueryAllowAllPathsIndexes: true}));
      

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: