[SERVER-59065] CatalogStats uses unsafe CollectionCatalog pointer during startup Created: 03/Aug/21  Updated: 27/Oct/23  Resolved: 06/Oct/21

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

Type: Bug Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-58736 Avoid quadratic behavior in rollback ... Closed
is related to SERVER-30888 Have FTDC code paths obtain locks wit... Closed
is related to SERVER-48221 Shut down ftdc after storage engine Closed
Operating System: ALL
Backport Requested:
v5.0
Sprint: Execution Team 2021-08-09
Participants:
Linked BF Score: 153

 Description   

SERVER-58736 made changes to the CollectionCatalog to allow for more efficient writes when the global exclusive lock is held. During the duration that the caller holds the CollectionCatalog pointer, the global lock must be held in some mode by the caller to prevent write operations from making in-place modifications on the CollectionCatalog.



 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 Gregory Wlodarek [ 06/Oct/21 ]

SERVER-58736 has been reverted

Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: Revert "SERVER-59065 CatalogStats uses unsafe CollectionCatalog pointer during startup"

This reverts commit 56cf8bab5418b4895a9c93677d590a3afc45759a.
Branch: master
https://github.com/mongodb/mongo/commit/87358266d9768d1afbd2d64501ab364940a807b4

Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: Revert "SERVER-59065 CatalogStats uses unsafe CollectionCatalog pointer during startup"

This reverts commit 56cf8bab5418b4895a9c93677d590a3afc45759a.
Branch: v5.1
https://github.com/mongodb/mongo/commit/e7092e40c952cd3a97bfda5ccb146fa1ecd0df56

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: Revert "SERVER-59065 CatalogStats uses unsafe CollectionCatalog pointer during startup"

This reverts commit b102e422a6e5915d578aad2dea6e217de2e5c945.
Branch: v5.0
https://github.com/mongodb/mongo/commit/551b46b05e6175361b7c96565785bd2fa44ceb7d

Comment by Githook User [ 24/Sep/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-59065 CatalogStats uses unsafe CollectionCatalog pointer during startup

(cherry picked from commit 56cf8bab5418b4895a9c93677d590a3afc45759a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b102e422a6e5915d578aad2dea6e217de2e5c945

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-59065 CatalogStats uses unsafe CollectionCatalog pointer during startup
Branch: master
https://github.com/mongodb/mongo/commit/56cf8bab5418b4895a9c93677d590a3afc45759a

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