[COMPASS-5124] Pass maxTimeMS when getting dbStats/collStats information for the sidebar and databases-collection pluin Created: 29/Sep/21  Updated: 02/Sep/22

Status: Ready for Work
Project: Compass
Component/s: Sidebar, Tech debt
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When fetching data for sidebar and databases-collections we want to introduce a reasonable timeout for those requests so that users are not stuck "forever" while waiting for this data to load. For this we want to pass maxTimeMs options to dbStats/collStats requests issued by the application. In cases where maxTimeMs will have no effect (ADL) we want to still have some kind of timeout behavior implemented on our side. In cases where data fetching will fail on timeout, we don't want application to be unusable, so if e.g., we could't get collStats for a specific collection, just don't show the stats numbers in the UI


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