[SERVER-54056] Decrease the default value for tenantMigrationGarbageCollectionDelayMS to 15 minutes Created: 26/Jan/21  Updated: 29/Oct/23  Resolved: 10/Feb/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: bkp, pm-1791_other_required
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-02-22
Participants:

 Description   

Below is the cleanup process after Cloud gets a commit decision for a tenant migration:

  1. Update DNS to forward all client requests to the recipient.
  2. Send donorForgetMigration to the donor.
  3. Clean up tenant databases on the donor a short grace period of 15 minutes after step 1. This is safe since all cursors have the default timeout of 10 minutes and noCursorTimeout is blocked on the proxy.

For step 3 to work (i.e. not fail with TenantMigrationComitted), tenantMigrationGarbageCollectionDelayMS must align with the grade period. So we should decrease its default value from 48 hours to 15 minutes.



 Comments   
Comment by Githook User [ 10/Feb/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-54056 Decrease the default value for tenantMigrationGarbageCollectionDelayMS to 15 minutes
Branch: master
https://github.com/mongodb/mongo/commit/c0f5f18e8013dd81512865d9745e1eb8f3a20140

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