[SERVER-57173] Write invalidated image for retryable findAndModify when secondaries apply operations earlier than minValid Created: 25/May/21  Updated: 29/Oct/23  Resolved: 05/Jun/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-rc1, 5.1.0-rc0

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

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Repl 2021-05-31, Repl 2021-06-14
Participants:

 Description   

When a minValid timestamp is set, the data may not be a consistent snapshot at a timestamp. Applying `needsRetryImage: true` CRUD operations prior to minValid must write the invalidated value to a config.image_collection document.



 Comments   
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 [ 08/Jun/21 ]

Author:

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

Message: SERVER-57173: Add distinction to oplog application when data is inconsistent.

(cherry picked from commit 3b6a717a226a86832979f8a5b0b8bf5eef9bb51c)
(cherry picked from commit e482b1bc65a667a853ade889055048ca60e43e93)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8330b27de4c15993cc6bf9caab46b8c649ca8e3e

Comment by Githook User [ 07/Jun/21 ]

Author:

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

Message: SERVER-57173: BACKPORT-9321 Add distinction to oplog application when data is inconsistent
Branch: v4.2
https://github.com/mongodb/mongo/commit/2a74647358cbe28368fdf26d1b489e68d079cbe2

Comment by Githook User [ 05/Jun/21 ]

Author:

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

Message: SERVER-57173: Add distinction to oplog application when data is inconsistent.

(cherry picked from commit 3b6a717a226a86832979f8a5b0b8bf5eef9bb51c)
Branch: master
https://github.com/mongodb/mongo/commit/e482b1bc65a667a853ade889055048ca60e43e93

Comment by Githook User [ 30/May/21 ]

Author:

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

Message: SERVER-57173: Add distinction to oplog application when data is inconsistent.
Branch: v4.0
https://github.com/mongodb/mongo/commit/5ced9522d15db7887fd32b82f50ec4b9eed46c70

Comment by Githook User [ 27/May/21 ]

Author:

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

Message: SERVER-57173: Add distinction to oplog application when data is inconsistent.
Branch: v4.4
https://github.com/mongodb/mongo/commit/3b6a717a226a86832979f8a5b0b8bf5eef9bb51c

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