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

Add polling for rolling indexes

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.44.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Jupiter, Iteration Kuiper Belt, Iteration Light Year, Iteration Milky Way
    • Not Needed
    • Developer Tools

      We will update the indexes store to always poll for indexes whenever the indexes tab is open. We already poll for search indexes, so for consistency we will also poll regular indexes and now rolling indexes.

      Since polling depends on visibility of either regular or search indexes, we will move that state to the store and move the start/stop polling logic to be part of those actions.

      If the response contains rolling indexes that we don’t already track, we will add in-progress indexes. If they are removed from the response we will remove the in-progress indexes. We then continue to merge in-progress indexes and real regular indexes into one list just like we do now for regular in-progress indexes.

      We will extend the InProgressIndex type so that we can visually distinguish between the regular in-progress indexes and rolling in-progress indexes.

       

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: