Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1649

Make `sh.status` report the status of automerge

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • vNext
    • Affects Version/s: None
    • Component/s: None
    • Needed
    • Hide

      Automerge information will now be shown for clusters which have it explicitly set (enabled/disabled by running start/stop Automerger).

      It is in format
      automerge:
          Currently enabled: yes/no
       

      Show
      Automerge information will now be shown for clusters which have it explicitly set (enabled/disabled by running start/stop Automerger). It is in format automerge:     Currently enabled: yes/no  

      In order to add the status of the automerge inside the `sh.status`, it must be included in getPrintableShardStatus.

      We need to include a new field called ‘automerge’ that return the boolean isAutoMergerEnabled.

      Example of the proposed format:

      automerge: 
          Currently enabled: yes

      In fact, this work is done only on the mongod binary shell here.

            Assignee:
            gagik.amaryan@mongodb.com Gagik Amaryan
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: