[SERVER-56373] [RRFaM] When writing FaM images to txn table, write oplog entries with `needsRetryImage` Created: 27/Apr/21  Updated: 29/Oct/23  Resolved: 05/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   
  • Add optional `needsRetryImage` field to oplog entry idl
    • It takes on string enum values of `preImage` and `postImage`
  • When writing oplog entries with retryableFaMStorageLocation=transactionsTable, set this field on oplog entries.

Nothing will yet be reading this value.



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

Author:

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

Message: SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics.

(cherry picked from commit 137f0e128c872b601dfce4a3801a1dac8d2f0d28)
Branch: v4.4
https://github.com/mongodb/mongo/commit/3896e124ad3f4db38257a4e7de11e3e788cfc13d

Comment by Githook User [ 19/May/21 ]

Author:

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

Message: SERVER-56373: BACKPORT-8899 from 8447dea added needsRetryImage support to log serializer for oplog
Branch: v4.2
https://github.com/mongodb/mongo/commit/55499d373701e0dbc8d7c96935290ac08900ea07

Comment by Githook User [ 18/May/21 ]

Author:

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

Message: SERVER-56373: BACKPORT-8899 Refactor Oplog onDelete callback to accomodate new preImage arg
Branch: v4.2
https://github.com/mongodb/mongo/commit/22d98bf4cf5c12497d57fe712db0c9440e7ceefb

Comment by Githook User [ 05/May/21 ]

Author:

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

Message: SERVER-56373 Add storeFindAndModifyImagesInOplog parameter and introduce 'needsRetryImage' field to oplog entries.
Branch: v4.0
https://github.com/mongodb/mongo/commit/8447dea32f0afdc0cfb8bf9bd1ca040ac6850c48

Comment by Githook User [ 04/May/21 ]

Author:

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

Message: SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics.
Branch: master
https://github.com/mongodb/mongo/commit/137f0e128c872b601dfce4a3801a1dac8d2f0d28

Comment by Githook User [ 04/May/21 ]

Author:

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

Message: SERVER-56373: Introduce `needsRetryImage` field to oplog entries. Refactor OpObserver::onDelete to express image semantics.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/05b40424e692bef5ef094c3188a5942d8abff6d4

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