[SERVER-49715] Check for interrupt while finding unowned ranges on setFCV to 4.4 Created: 17/Jul/20  Updated: 29/Oct/23  Resolved: 05/Aug/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.4.0-rc13
Fix Version/s: 4.4.1

Type: Improvement Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Sharding 2020-07-27, Sharding 2020-08-10
Participants:

 Description   

After SERVER-49680, a shard should be able to enumerate all its unowned ranges for a collection quickly on setFCV to 4.4, but since this is implemented as a loop of O(num chunks) under a collection IX lock, it's a good idea to periodically check for interrupt in the loop.

Also add tests of stepping down and shutting down a node while it's in the loop.



 Comments   
Comment by Githook User [ 05/Aug/20 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-49715 Check for interrupt while finding unowned ranges on setFCV to 4.4
Branch: v4.4
https://github.com/mongodb/mongo/commit/7a61fb8fe962ddcae600fb0b197bdd8f1e8bc016

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