Upgrading

On this page:

Indexing 2021

Target Release 2021.x

How to Fix Indexing

Use the steps below to validate and fix current indexes.

  1. From the Robo3t/MongoDB Atlas UI:

    • View the contents of the Mongo Collection from the data explorer.
  2. From Postman API:

    • Run index validation for each collectionName using GET API.

      GET http://{iap-url}:port/indexes/${collectionName}/status
      Collection API
      Workflows GET http://{iap-url}:port/indexes/workflows/status
      Jobs GET http://{iap-url}:port/indexes/jobs/status
      Tasks GET http://{iap-url}:port/indexes/tasks/status
  3. Expect, at a minimum, 12 Jobs, 6 Tasks, and 3 Workflows.

  4. Confirm index validation via IAP browser.

    Figure 1: IAP Browser

    IAP Browser

    Figure 2: Browser Validation

    Browser Validation

  5. If you do not have the expected indexing listed in Step 3 above, create them for each collectionName using POST API via Postman.

    POST http://{iap-url}:port/indexes/${collectionName}
    Collection API
    Workflows POST http:/{iap-url}:port/indexes/workflows
    Jobs POST http:/{iap-url}:port/indexes/jobs
    Tasks POST http:/{iap-url}:port/indexes/tasks
  6. Run index validation and confirm the latest metrics.

    npm run index
  7. Login to IAP and confirm if you are able to view Active Jobs / Completed Jobs / Cancelled Jobs from the Job Manager page.

    IAP Job Manager

  8. Resume the Migration process at Step 5.