[SERVER-74386] Don’t reset recordPreImages on collMod <= 6.0 only Created: 27/Feb/23  Updated: 29/Oct/23  Resolved: 21/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.4.19, 5.0.15, 6.0.4
Fix Version/s: 4.4.20, 5.0.16, 6.0.6

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

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0, v4.4
Sprint: QE 2023-03-06, QE 2023-03-20, QE 2023-04-03
Participants:
Case:

 Description   

As discovered in HELP-42715, recordPreImages attributed is set to false on every collMod command, unless explicitly specified otherwise.

This may cause issues, when subsequent collMod calls are made.

Since the attribute is removed starting from 6.2, the work will be done on 6.0 and backported down to other versions



 Comments   
Comment by Githook User [ 21/Mar/23 ]

Author:

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

Message: SERVER-74386 Don’t reset "recordPreImages" option on "collMod" command
Branch: v4.4
https://github.com/mongodb/mongo/commit/a6dd4fddbb0a3b6dcd4fb1b9001f674f757ed9f6

Comment by Githook User [ 20/Mar/23 ]

Author:

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

Message: SERVER-74386 Don’t reset "recordPreImages" option on "collMod" command
Branch: v5.0
https://github.com/mongodb/mongo/commit/c7d6bc29c9ce2254e587f85c2fedc1ba2c8f7ce5

Comment by Githook User [ 20/Mar/23 ]

Author:

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

Message: SERVER-74386 Don’t reset "recordPreImages" option on "collMod" command
Branch: v6.0
https://github.com/mongodb/mongo/commit/57fc99fb6e70df7e294d6c378bfb2accba9387f1

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