[SERVER-55429] Abort migration earlier when receiver is not cleaning overlapping ranges Created: 22/Mar/21  Updated: 29/Oct/23  Resolved: 29/Jun/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 4.9.0, 4.0.23, 4.4.4, 4.2.13
Fix Version/s: 4.4.14, 5.0.4, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
causes SERVER-58240 Wait for range deletion timeout is to... Closed
causes SERVER-58905 Fix test that assumes receiveChunkWai... Closed
causes SERVER-59636 Default timeout for receiveChunkWaitF... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4
Sprint: Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
Participants:
Case:
Linked BF Score: 50

 Description   

Currently, the migration source manager is waiting up to 6 hours for a receiver to finish cleaning overlapping range deletion tasks before starting a move chunk.

This can result in migrations being blocked on both sides for an unreasonable amount of time: a much smaller timeout must be used for this specific case, aborting the migration in case the range doesn't get cleared.



 Comments   
Comment by Githook User [ 12/Apr/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-55429 Add timeout to migrations when waiting for range deletions on intersecting ranges

(cherry picked from commit 69ff1f7fc8d17a424985df906215d4d23cd7710a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/6ddac36b34d42ae76ee3c8bd0ec39ff485a81f49

Comment by Githook User [ 11/Oct/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-55429 Add timeout to migrations when waiting for range deletions on intersecting ranges
Branch: v5.0
https://github.com/mongodb/mongo/commit/69ff1f7fc8d17a424985df906215d4d23cd7710a

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 29/Jun/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-55429 Add timeout to migrations when waiting for range deletions

... on intersecting ranges
Branch: master
https://github.com/mongodb/mongo/commit/1874b32ad88abd2df8a42d6db0eb4c46549d38d7

Comment by Kaloian Manassiev [ 01/Apr/21 ]

Consider having a timeout on the recipient on how long the cleanup stage, before starting to clone documents takes.

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