Target Release 2021.x
How to Fix Indexing
Use the steps below to validate and fix current indexes.
From the Robo3t/MongoDB Atlas UI:
- View the contents of the Mongo Collection from the data explorer.
From Postman API:
Run index validation for each
collectionName
usingGET
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
Expect, at a minimum, 12 Jobs, 6 Tasks, and 3 Workflows.
Confirm index validation via IAP browser.
Figure 1: IAP Browser
Figure 2: Browser Validation
If you do not have the expected indexing listed in Step 3 above, create them for each
collectionName
usingPOST
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
Run index validation and confirm the latest metrics.
npm run index
Login to IAP and confirm if you are able to view Active Jobs / Completed Jobs / Cancelled Jobs from the Job Manager page.
Resume the Migration process at Step 5.