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

Individual-chunk output for sh.status() is noisy

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.15.4
    • Affects Version/s: 0.14.0
    • Component/s: Shell API
    • None
    • Iteration Firenze
    • Not Needed

      We show objects like

                {
                  min: { a: 7 },
                  max: { a: 9 },
                  'on shard': 'shard02',
                  'last modified': Timestamp(0, 3)
                },
      

      instead of e.g. the legacy shell variant

                { "a" : 7 } -->> { "a" : 9 } on : shard03 Timestamp(3, 0)
      

      which is admittedly more readable, even though we only show per-chunk info when there are 20 chunks at most/verbose output was explicitly requested.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: