Provide more status information in shell prompt

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Roy Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: