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

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.32.2
    • Component/s: None
    • None
    • Environment:
      OSX
    • Iteration Grouper, Iteration Herring, Iteration Isopod
    • None
    • None

      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()

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

              Created:
              Updated: