[SERVER-60313] log idents at index build start and finish Created: 29/Sep/21  Updated: 29/Oct/23  Resolved: 14/Oct/21

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

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-10-18
Participants:
Linked BF Score: 136

 Description   

We enabled some debug logging in WiredTiger in local testing to help locate the transactions that were hanging. Since the WiredTiger logs include the idents but not the collection and index namespaces/UUIDs, it would help to include the idents at a couple of key transition points in an index build to help locate the namespace with the conflicts.


OLD TITLE: revisit logging for prepared transactions
OLD DESCRIPTION:
We have seen some timeouts in our CI system relating to prepared transaction being re-applied on the same node in different replication modes. It would be nice to look into logging improvements to improve diagnostics in these scenarios.



 Comments   
Comment by Githook User [ 14/Oct/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-60313 log index and collection idents at start of index build
Branch: master
https://github.com/mongodb/mongo/commit/19e314899635ba89a7aefd1ae9a6e5bccd8d9222

Comment by Githook User [ 14/Oct/21 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-60313 log index and collection idents at index build completion
Branch: master
https://github.com/mongodb/mongo/commit/e1f602fd1789c2a660d963e5ede199bd08e826f4

Comment by Benety Goh [ 14/Oct/21 ]

It might be ok to scale back this ticket to simply add enough logging to help the WT side of things.

Generated at Thu Feb 08 05:49:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.