-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
A large function call parameter or exception catch statement is passed by value
Defect 45825 (STATIC_C)
Checker PASS_BY_VALUE (subcategory none)
File: /src/mongo/db/repl/member_heartbeat_data.cpp
Function mongo::repl::MemberHeartbeatData::setUpValues(mongo::Date_t, const mongo::HostAndPort &, mongo::repl::ReplSetHeartbeatResponse)
/src/mongo/db/repl/member_heartbeat_data.cpp, line: 50
Passing parameter hbResponse of type "mongo::repl::ReplSetHeartbeatResponse" (size 296 bytes) by value.
ReplSetHeartbeatResponse hbResponse) {