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

Pass maxTimeMS when getting dbStats/collStats information for the sidebar and databases-collection pluin

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sidebar, Tech debt
    • Labels:
      None

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: