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

Better error message for configureFailPoint

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

      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:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            militsa.sotirova@mongodb.com Militsa Sotirova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: