Better error message for configureFailPoint

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If you try to run the configureFailPoint command without test commands enabled, you get the following error message:

      > db.adminCommand({configureFailPoint: 'disableMatchExpressionOptimization', 'mode': 'off'})
      {
      	"ok" : 0,
      	"errmsg" : "no such command: 'configureFailPoint'",
      	"code" : 59,
      	"codeName" : "CommandNotFound"
      } 

      It would be better if the message told you to enable test commands in order to run that command.

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: