[SERVER-85143] Cleanup usages of CollectionCatalog::establishConsistentCollections Created: 12/Jan/24  Updated: 17/Jan/24  Resolved: 16/Jan/24

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

Type: Improvement Priority: Minor - P4
Reporter: David Dominguez Sal Assignee: David Dominguez Sal
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-84176 Fix CollectionCatalog::establishConsi... Closed
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2024-01-22
Participants:
Linked BF Score: 135

 Description   

Since CollectionCatalog::establishConsistentCollections cannot return nullptr by contract, it is not necessary to check for that case. Normalize the usages of the function.



 Comments   
Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'David Dominguez-Sal', 'email': 'david.dominguez@mongodb.com', 'username': 'david-dominguez-sal'}

Message: SERVER-85143: Cleanup unnessary null pointer check

GitOrigin-RevId: 37f3f8ed0d373fdc4e9ed35c7fa34712aa3fa2b4
Branch: master
https://github.com/mongodb/mongo/commit/9f2bd510f816f20d6f64adbb3453ae9f5ee2c90c

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