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

Prompt before write commands with shell

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Case:

      Description

      It would be nice if the shell could (perhaps by default) prompt the user for confirmation before issuing write commands. These warnings could also highlight when there are no filters applied (which would result in modifying all documents in the targeted collection). This could be viewed as a "reasonably safe mode" which would be helpful in situations where the user has permission and must sometimes issue writes, but needs to be careful because of the target environment (such as production deployments).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: