[SERVER-53189] Coverity analysis defect 116712: Parse warning Created: 02/Dec/20  Updated: 06/Dec/22  Resolved: 04/Dec/20

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-52594 Integrate ReshardingOplogApplier into... Closed
Assigned Teams:
Sharding
Operating System: ALL
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/resharding/resharding_recipient_service.cpp:276: PW.PARAMETER_HIDDEN 116712 declaration hides parameter "executor" (declared at line 255)



 Comments   
Comment by Max Hirschhorn [ 04/Dec/20 ]

https://github.com/mongodb/mongo/commit/2f470d5c2b3f1e06d1d12b25918009241470591a#diff-1523d2ee9636e8e034655811b6f1bba55ecbd897d9de7fcd8c3435c28f0fd447L276 made it so the TaskExecutors constructed for the ReshardingOplogFetcher was no longer given a temporary name.

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