[SERVER-37923] Make the chunk migration recipient logic check-out sessions it is operating on Created: 05/Nov/18  Updated: 29/Oct/23  Resolved: 06/Dec/18

Status: Closed
Project: Core Server
Component/s: Internal Code, Sharding
Affects Version/s: None
Fix Version/s: 4.1.7

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-11-19, Sharding 2018-12-03, Sharding 2018-12-17
Participants:

 Description   

Currently the chunk migration recipient side accesses the session without checking it out. This ticket is about making it use the new session check-out mechanism with potentially killing the session if it doesn't yield quickly.



 Comments   
Comment by Githook User [ 06/Dec/18 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-37923 Rename TransactionParticipant::getFromNonCheckedOutSession to be just get(Session*)
Branch: master
https://github.com/mongodb/mongo/commit/e7302a09ff2b6a1906ccff76121f6eb7f8773c37

Comment by Githook User [ 06/Dec/18 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-37923 Make chunk migration check-out the session

With this change there are no callers which modify the session state
without having checked it out first.
Branch: master
https://github.com/mongodb/mongo/commit/e5967d7b430fb8eb8a2e56ab9bdaa946e7bbdfa8

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