Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86491 Allow to set query settings via hash
  3. SERVER-86673

Change update query settings by-query-shape-hash interface

    • Type: Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • QE 2024-02-19, QE 2024-03-04, QE 2024-03-18

      Replace

      db.adminCommand({
        setQuerySettings: "DF434$5fr4%$%f45rFDt44",
        settings: {
          indexHints: {
            allowedIndexes: ["a_1"]
          }
        }
      });
      

      with

      db.adminCommand({
        setQuerySettings: {
          queryShapeHash: "DF434$5fr4%$%f45rFDt44",
          ns: "myDb.myColl"
        },
        settings: {
          indexHints: {
            allowedIndexes: ["a_1"]
          }
        }
      });
      

            Assignee:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Reporter:
            romans.kasperovics@mongodb.com Romans Kasperovics
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: