[SERVER-40916] Improve logging of IndexBuildTest::waitForIndexBuildToStart for test failure diagnosis Created: 30/Apr/19  Updated: 29/Oct/23  Resolved: 01/Jul/19

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

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Maria van Keulen
Resolution: Fixed 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
is related to SERVER-40917 collstats_shows_ready_and_in_progress... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-07-01
Participants:
Linked BF Score: 5

 Description   

For diagnosis purposes, we should log the currentOp result that is found such that IndexBuildTest::waitForIndexBuildToStart returns success. We have some test failures that don't make any sense – the tests supposedly find an index build, but the server logs indicate that the index build hasn't started yet, so I want to know what IndexBuildTest::waitForIndexBuildToStart found in the currentOp results.



 Comments   
Comment by Githook User [ 01/Jul/19 ]

Author:

{'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}

Message: SERVER-40916 Log index build information in getIndexBuildOpId
Branch: master
https://github.com/mongodb/mongo/commit/033e3a921dea84b82c046f55e47b779a9813b1a9

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