Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1499

Make analyzeShardKey shell helper support the new options

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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@mongodb.com Anna Henningsen
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: