[SERVER-56563] [RRFaM] Forge noop image oplog entries for chunk migration Created: 03/May/21  Updated: 29/Oct/23  Resolved: 14/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.25, 4.2.15, 4.4.7, 5.0.0-rc0

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Repl 2021-05-17
Participants:

 Description   

Chunk migrations replicate retryable findAndModify information by transferring the noop oplog entries that represent the pre/post images.

With retryable images being saved into an implicitly replicated collection, those images are no longer naturally discovered to be transferred.

When a chunk migration source is about to transfer an oplog entry that requires a pre/post image written in the new format, we will:

  1. perform the lookup on image collection
  2. forge a noop oplog entry

This effectively downconverts the new retryable findAndModify format to the old format for chunk migrations.



 Comments   
Comment by Githook User [ 28/May/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-56563: [RRFaM] Forge noop image oplog entries for chunk migration
Branch: v4.2
https://github.com/mongodb/mongo/commit/d9aee7e28be05a49e092b4acd483906eef7e735e

Comment by Githook User [ 24/May/21 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-56563: Downconvert `needsRetryImage` oplog entries for chunk migrations.

(cherry picked from commit 9fe221be9a9b4bb04c6d9e8727e5760d1813b408)
Branch: v4.4
https://github.com/mongodb/mongo/commit/283cb4e0ac9d916a981bafe1f597418c332e6148

Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@10gen.com', 'username': 'jasonjhchan'}

Message: SERVER-56563 Forge noop image oplog entries for chunk migration
Branch: v4.0
https://github.com/mongodb/mongo/commit/fc57a64f959668b04ff7c7f2efdd68ce95a11736

Comment by Githook User [ 14/May/21 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-56563: Downconvert `needsRetryImage` oplog entries for chunk migrations.
Branch: master
https://github.com/mongodb/mongo/commit/9fe221be9a9b4bb04c6d9e8727e5760d1813b408

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