[SERVER-63830] Coverity analysis defect 121565: Uninitialized scalar field Created: 18/Feb/22  Updated: 27/Oct/23  Resolved: 03/Mar/22

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: A. Jesse Jiryu Davis
Resolution: Gone away Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2022-02-18 at 9.42.15 AM.png    
Issue Links:
Depends
depends on SERVER-61144 Finish importing donated collections ... Closed
Problem/Incident
is caused by SERVER-61134 Call voteCommitMigrationProgress with... Closed
Operating System: ALL
Sprint: Server Serverless 2022-03-07
Participants:

 Description   

Uninitialized scalar field

The field will contain an arbitrary value left over from earlier computations. A scalar field is not initialized by the constructor
/src/mongo/db/repl/tenant_file_importer_service.h:92: UNINIT_CTOR 121565 The compiler-generated constructor for this class does not initialize "_toldPrimaryAllFilesAreCopied".



 Comments   
Comment by A. Jesse Jiryu Davis [ 03/Mar/22 ]

Resolved in SERVER-61144.

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