[SERVER-77368] Remove const_cast<IndexAccessMethod*> in KeyStringIndexConsistency constructor Created: 22/May/23  Updated: 29/Oct/23  Resolved: 16/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

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

Issue Links:
Related
related to SERVER-77062 Perform copy-on-write of index catalo... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution NAMR Team 2023-06-26
Participants:

 Description   

As of SERVER-77062, the IndexAccessMethod is in the shared state of the IndexCatalogEntryImpl. We should only use const access to it.



 Comments   
Comment by Githook User [ 16/Jun/23 ]

Author:

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

Message: SERVER-77368 Remove const_cast<IndexAccessMethod*> in KeyStringIndexConsistency constructor
Branch: master
https://github.com/mongodb/mongo/commit/71d1cacd3cf623f011e9d03eeb88b68df6d35f4c

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