Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5883

sh.status() hangs in Compass, works in mongosh

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 1.32.2
    • None
    • None
    • OSX
    • Iteration Grouper, Iteration Herring, Iteration Isopod

    Description

      Problem Statement/Rationale

      Running sh.status(true) hangs if invoked in Compass. Same command works with no issues on the same host if invoked in native mongosh or mongo shell.

      Steps to Reproduce

      1. Create a Global Cluster in Atlas spanning 4 zones
      2. Connect with Compass
      3. Run sh.status(true)

      Expected Results

      Command returns with the sh.status() output printed

      Actual Results

      The command does not return

      Additional Notes

      I suspect this is due to the amount of chunk entries retrieved as sh.status() invoked without any arguments works fine.

      Same behaviour is observed with db.printShardingStatus() which relies on the same helper as sh.status()

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: