[SERVER-64519] Critical section reason for create collection is multiversion incompatible Created: 15/Mar/22  Updated: 29/Oct/23  Resolved: 17/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.2, 6.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-63732 Add new implicitlyCreateIndex and enf... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.3
Participants:
Linked BF Score: 153

 Description   

The CreateCollectionCoordinator includes the entire create collection request body in the "reason" used to grab the critical section. This means that if we modify the create collection request we will possibly hit this invariant when recovering the create collection coordinator on older binaries.



 Comments   
Comment by Githook User [ 11/Apr/22 ]

Author:

{'name': 'Marcos Jose Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-64519 Filter fields attached to the CritSec reason when creating a collection to make collection creation backward compatible

(cherry picked from commit eef965232b1932c519e4df3e436c8cc603753b72)
Branch: v5.3
https://github.com/mongodb/mongo/commit/8ba7f40afb93eb23ec60015a62c1b5eaeb79f840

Comment by Githook User [ 16/Mar/22 ]

Author:

{'name': 'Marcos Jose Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-64519 Filter fields attached to the CritSec reason when creating a collection to make collection creation backward compatible
Branch: master
https://github.com/mongodb/mongo/commit/eef965232b1932c519e4df3e436c8cc603753b72

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