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

Provide more status information in shell prompt

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Labels:
      None

      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>

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

              Created:
              Updated:
              Resolved: