[SERVER-61842] Mixed mode writes to `config.system.preimages` Created: 01/Dec/21  Updated: 29/Oct/23  Resolved: 06/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2021-12-13
Participants:
Linked BF Score: 160

 Description   

Changes to "config.system.preimages" are now mixed with timestamped and untimestamped writes. The documents are inserted with timestamps, while deleted without them. The test jstests/noPassthrough/change_streams_pre_image_removal_job.js is failing consistently.



 Comments   
Comment by Githook User [ 03/Dec/21 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-61842 Mixed mode writes to `config.system.preimages`
Branch: master
https://github.com/mongodb/mongo/commit/91a5a14be9e85e1922ecc0386ab4bddb2b036c4d

Comment by Yuhong Zhang [ 01/Dec/21 ]

denis.grebennicov or mindaugas.malinauskas may better explain the actual mechanism of deleteExpiredChangeStreamPreImages(). But when I was looking at the data files I didn't see any oplog entries associated with the namespace config.system.preimages.

Comment by Andy Schwerin [ 01/Dec/21 ]

I had expected deletes to be replicated as normal deletes with “d” oplog entries, not for the replicas to make independent delete decisions. Is that what’s happening here?

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