[SERVER-40917] collstats_shows_ready_and_in_progress_indexes.js should use checkLog instead of currentOp to check for active index builds Created: 30/Apr/19  Updated: 06/Dec/22  Resolved: 02/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-41968 IndexBuildTest.getIndexBuildOpId() no... Closed
related to SERVER-40916 Improve logging of IndexBuildTest::wa... Closed
Assigned Teams:
Storage Execution
Operating System: ALL
Participants:
Linked BF Score: 5

 Description   

A test failure shows that we aren't waiting properly for an index build to start. I can't tell why because none of the currentOp results are logged.

Instead of using currentOp, we can use checkLog (call clearLog cmd first because the server is shared across tests).

SERVER-40916 will improve the logging of the IndexBuildTest::waitForIndexBuildToStart, so we can see what it finds if a test ever fails again.


Generated at Thu Feb 08 04:56:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.