[COMPASS-5883] sh.status() hangs in Compass, works in mongosh Created: 09/Jun/22  Updated: 31/Aug/22

Status: Ready for Work
Project: Compass
Component/s: None
Affects Version/s: 1.32.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dmitry Ryabtsev Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OSX


Attachments: Text File compass_62a151f88525f1160876840a_log.txt    
Sprint: 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()


Generated at Wed Feb 07 22:41:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.