[SERVER-49894] Have resharding oplog fetcher resume from 'ts' component of largest _id inserted Created: 25/Jul/20  Updated: 29/Oct/23  Resolved: 18/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: Max Hirschhorn Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-oplog-fetch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-49893 Create oplog fetcher for resharding Closed
is depended on by SERVER-51606 Handle recovery from resharding donors Closed
Problem/Incident
Related
related to SERVER-53941 Have resharding oplog applier resume ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-02-22
Participants:
Linked BF Score: 81
Story Points: 1

 Description   

The largest _id value in the config.localReshardingOplogBuffer.<existingUUID>.<donorShardId> collection should be used with {$match: {ts: {$gte: <resume oplog buffer _id.ts>}}} to resume. Properties to ensure are being tested:

  1. The oplog fetcher for resharding must not trigger a duplicate key error when resuming.
  2. The oplog fetcher for resharding must not miss a document when resuming.


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

Author:

{'name': 'Yuhong Zhang', 'email': 'danielzhangyh@gmail.com', 'username': 'YuhongZhang98'}

Message: SERVER-49894 Have resharding oplog fetcher resume from 'ts' component of largest _id inserted
Branch: master
https://github.com/mongodb/mongo/commit/e7bfb0e0d2980d91fb6976f598d135cdd55ec8bf

Comment by Githook User [ 18/Feb/21 ]

Author:

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

Message: Revert "SERVER-49894 Have resharding oplog fetcher resume from 'ts' component of largest _id inserted"

This reverts commit 22deeddb724e0ace7133762357b6fecd2c785443.
Branch: master
https://github.com/mongodb/mongo/commit/0e6950610ce228b302770fecd06c6159659d614a

Comment by Kaloian Manassiev [ 18/Feb/21 ]

This commit breaks a lot of sharding tests consistently, so reverting it.

Comment by Githook User [ 17/Feb/21 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com'}

Message: SERVER-49894 Have resharding oplog fetcher resume from 'ts' component of largest _id inserted
Branch: master
https://github.com/mongodb/mongo/commit/22deeddb724e0ace7133762357b6fecd2c785443

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