[SERVER-63003] Coverity analysis defect 121397: Parse warning Created: 26/Jan/22  Updated: 29/Oct/23  Resolved: 28/Apr/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Nandini Bhartiya
Resolution: Fixed Votes: 0
Labels: coverity, neweng, sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-01-26 at 10.57.54 AM.png    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2022-05-02
Participants:
Story Points: 1

 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/resharding/resharding_coordinator_service.cpp:550: PW.PARAMETER_HIDDEN 121397 declaration hides parameter "opCtx" (declared at line 545)



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

Author:

{'name': 'nandinibhartiyaMDB', 'email': 'nandini.bhartiya@mongodb.com', 'username': 'nandinibhartiyaMDB'}

Message: SERVER-63003: Fix the name hiding issue in the Resharding Coordinator Service
Branch: master
https://github.com/mongodb/mongo/commit/a6a5e8fa7e229a9cd56902f694a06f0d5328fe27

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