[SERVER-64319] Coverity analysis defect 121642: Parse warning Created: 08/Mar/22  Updated: 29/Oct/23  Resolved: 11/May/22

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

Type: Bug Priority: Minor - P4
Reporter: Coverity Collector User Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: coverity, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-03-08 at 9.49.15 AM.png    
Issue Links:
Backports
Problem/Incident
is caused by SERVER-64080 ConfigsvrConfigureCollectionBalancing... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-16
Participants:

 Description   

Parse warning

A parse warning may reduce maintainability of the code, or it may indicate a serious error. A parse warning from the Coverity parser may indicate a bug, or poor coding practice
/src/mongo/db/s/config/sharding_catalog_manager_collection_operations.cpp:619: PW.PARAMETER_HIDDEN 121642 declaration hides parameter "opCtx" (declared at line 553)



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-64319 Fix the name hiding issue for usages of ShardingCatalogManager::withTransaction
Branch: v6.0
https://github.com/mongodb/mongo/commit/9f741ad493dac0e51ea0116a55051be13d1d688a

Comment by Githook User [ 10/May/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-64319 Fix the name hiding issue for usages of ShardingCatalogManager::withTransaction
Branch: master
https://github.com/mongodb/mongo/commit/c6e976d9f67a1b50826784e7a0eda9bfe212dd73

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