[SERVER-71792] Log list of cursors a range deletion is going to wait on Created: 02/Dec/22  Updated: 29/Oct/23  Resolved: 09/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.3.0-rc1, 6.0.6

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-79601 Log the SessionId of the cursors a ra... Backlog
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.3, v6.0
Sprint: Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06, Sharding EMEA 2023-02-20
Participants:

 Description   

SERVER-45367 was only committed in v3.6 and v4.0, hence in currently supported versions we're missing the list of cursors retaining a range deletion that is a very valuable information in case the range-deleter is slow or gets stuck.

Purpose of this ticket is to add the information and evaluate whether to build a more complex machinery to not only log cursors when a range deletion starts, but also after it has been waiting for a long time.

The solution must add the info in the code paths of the legacy range deleter (for pre-6.2.0 versions) and the new range deleter service.



 Comments   
Comment by Githook User [ 21/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-71792 Log list of cursors a range deletion is going to wait on
Branch: v6.0
https://github.com/mongodb/mongo/commit/4e904003697033ae1876838df3a3a81c5e390423

Comment by Githook User [ 20/Feb/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-71792 Log list of cursors a range deletion is going to wait on
Branch: v6.3
https://github.com/mongodb/mongo/commit/314825e8dfbbe246bc2e4ad0531f3ccdf73b2608

Comment by Githook User [ 09/Feb/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-71792 Log list of cursors a range deletion is going to wait on
Branch: master
https://github.com/mongodb/mongo/commit/a691dacf5bca2d78714d4abebe18078e1473b485

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