Make analyzeShardKey shell helper support the new options

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.10.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Needed
    • Hide

      mongosh exposes two methods:

      db.coll.analyzeShardKey(key[, options]);
      db.coll.configureQueryAnalyzer(options);
      

      They map to the corresponding server commands (DOCSP-31017).

      Show
      mongosh exposes two methods: db.coll.analyzeShardKey(key[, options]); db.coll.configureQueryAnalyzer(options); They map to the corresponding server commands (DOCSP-31017).

      SERVER-78406 and SERVER-78265 introduced several command options to he analyzeShardKey command. So the shell helper added in MONGOSH-1442 should be updated to support the new options. Please see the IDL struct for the command for more details.

              Assignee:
              Anna Henningsen
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: