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

Provide more status information in shell prompt

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Shell
    • None

    Description

      The shell prompt shows you the replica set name and server state:

      songza:SECONDARY>

      It would be useful if it also showed you the replica role. For example, we use "production" and "reporting" roles. Ad-hoc expensive queries we want to make sure only get done against the reporting member. Adding the role to the prompt would help recognize that you've connected to the proper host:

      songza:SECONDARY/reporting>

      Attachments

        Activity

          People

            Unassigned Unassigned
            roysmith Roy Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: