[SERVER-57015] [RRFaM] Writing to the image collection must be in an UnreplicatedWriteBlock Created: 18/May/21  Updated: 29/Oct/23  Resolved: 19/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-rc1, 5.1.0-rc0

Type: Bug 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
Operating System: ALL
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Repl 2021-05-31
Participants:

 Description   

It's possible to get into the oplog application code path for writing to the image collection on a primary, not in an UnreplicatedWriteBlock. A couple examples being:

  • ApplyOps
  • Tenant Migrations


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

Author:

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

Message: SERVER-57015: Ensure findAndModify image collection writes are not replicated.

(cherry picked from commit 2cc51d1d39270a8145757debb5578057ef87ff71)
Branch: v5.0
https://github.com/mongodb/mongo/commit/a4bfd736993619c7761be6fa26a60dcff3d3d996

Comment by Githook User [ 03/Jun/21 ]

Author:

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

Message: SERVER-57015: Ensure findAndModify image collection writes are not replicated.

(cherry picked from commit 2cc51d1d39270a8145757debb5578057ef87ff71)
Branch: v4.4
https://github.com/mongodb/mongo/commit/413af9c82279f4d6dbf802534674789cbcefae59

Comment by Githook User [ 19/May/21 ]

Author:

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

Message: SERVER-57015: Ensure findAndModify image collection writes are not replicated.

(cherry picked from commit 2cc51d1d39270a8145757debb5578057ef87ff71)
Branch: v4.0
https://github.com/mongodb/mongo/commit/1c2b75b6a916aefaba0ec7b74ca0e914a8bba2d2

Comment by Githook User [ 19/May/21 ]

Author:

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

Message: SERVER-57015: Ensure findAndModify image collection writes are not replicated.
Branch: master
https://github.com/mongodb/mongo/commit/2cc51d1d39270a8145757debb5578057ef87ff71

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