[SERVER-43246] Add a log line for when a cursor is reaped due to logical session cleanup Created: 10/Sep/19  Updated: 29/Oct/23  Resolved: 04/Dec/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.17, 4.2.3, 4.3.3, 4.0.15

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Kevin Pulo
Resolution: Fixed Votes: 1
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-45385 Unblacklist sharding/kill_sessions.js... Closed
is related to SERVER-45385 Unblacklist sharding/kill_sessions.js... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Sharding 2019-10-07, Sharding 2019-10-21, Sharding 2019-11-04, Sharding 2019-11-18, Sharding 2019-12-02, Sharding 2019-12-16
Participants:

 Description   

When a cursor is cleaned up because of logical session killing (either logical session timeout, or a killSessions command), it currently cleans up silently. This is non-obvious for users (especially when using no timeout cursors and default sessions).

It would be a useful diagnostic if that cleanup triggered a log line explaining the reason for the kill



 Comments   
Comment by Githook User [ 15/Jan/20 ]

Author:

{'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}

Message: SERVER-43246 Add a log line for when a cursor is reaped due to logical session cleanup

(cherry picked from commit 89c93866980e924c7ae91ca30b5bd3674727fe4f)

SERVER-45277 Temporarily blacklist sharding/kill_sessions.js in multiversion

(cherry picked from commit 532b4a761e27d3ffa3b852fd3e936190dd5d2461)
Branch: v3.6
https://github.com/mongodb/mongo/commit/0480b92d5c6150e34c19aae5d4b231a6e4f43a2e

Comment by Githook User [ 14/Jan/20 ]

Author:

{'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}

Message: SERVER-43246 Add a log line for when a cursor is reaped due to logical session cleanup

(cherry picked from commit 89c93866980e924c7ae91ca30b5bd3674727fe4f)

SERVER-45277 Temporarily blacklist sharding/kill_sessions.js in multiversion

(cherry picked from commit 532b4a761e27d3ffa3b852fd3e936190dd5d2461)
Branch: v4.0
https://github.com/mongodb/mongo/commit/348a2c6ae2d903fb49601846ba5cbcd9d1a65cbb

Comment by Githook User [ 14/Jan/20 ]

Author:

{'name': 'Kevin Pulo', 'email': 'kevin.pulo@mongodb.com', 'username': 'devkev'}

Message: SERVER-43246 Add a log line for when a cursor is reaped due to logical session cleanup

(cherry picked from commit 89c93866980e924c7ae91ca30b5bd3674727fe4f)

SERVER-45277 Temporarily blacklist sharding/kill_sessions.js in multiversion

(cherry picked from commit 532b4a761e27d3ffa3b852fd3e936190dd5d2461)
Branch: v4.2
https://github.com/mongodb/mongo/commit/c4659b5d156bef2a503320e4e76ce3bf49e4fe9a

Comment by Githook User [ 04/Dec/19 ]

Author:

{'name': 'Kevin Pulo', 'username': 'devkev', 'email': 'kevin.pulo@mongodb.com'}

Message: SERVER-43246 Add a log line for when a cursor is reaped due to logical session cleanup
Branch: master
https://github.com/mongodb/mongo/commit/89c93866980e924c7ae91ca30b5bd3674727fe4f

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