summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-06-27 17:45:51 +0000
committerBilly Donahue <billy.donahue@mongodb.com>2020-07-02 22:36:37 +0000
commit6f8fb7e4c6259e9bca0a33cd8c681be7f9447f97 (patch)
tree409e278308c93a1ba51b252da96df6863afb0cc5
parent5fc5142d5827c0c2066759f3d228a0db9812ccd1 (diff)
downloadmongo-6f8fb7e4c6259e9bca0a33cd8c681be7f9447f97.tar.gz
SERVER-48944 rename attr /connection_id/connectionId/
(cherry picked from commit bca920ba961a95e58fa2f40d80844817ad1489d8)
-rw-r--r--src/mongo/transport/service_state_machine.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mongo/transport/service_state_machine.cpp b/src/mongo/transport/service_state_machine.cpp
index 31019cda4cb..13ef50881cd 100644
--- a/src/mongo/transport/service_state_machine.cpp
+++ b/src/mongo/transport/service_state_machine.cpp
@@ -397,12 +397,10 @@ void ServiceStateMachine::_sourceCallback(Status status) {
_state.store(State::EndSession);
} else {
LOGV2(22988,
- "Error receiving request from client: {error}. Ending connection from {remote} "
- "(connection id: {connnection_id})",
"Error receiving request from client. Ending connection from remote",
"error"_attr = status,
"remote"_attr = remote,
- "connection_id"_attr = _session()->id());
+ "connectionId"_attr = _session()->id());
_state.store(State::EndSession);
}
@@ -425,12 +423,10 @@ void ServiceStateMachine::_sinkCallback(Status status) {
// scheduleNext() to unwind the stack and do the next step.
if (!status.isOK()) {
LOGV2(22989,
- "Error sending response to client: {error}. Ending connection from {remote} "
- "(connection id: {connection_id})",
"Error sending response to client. Ending connection from remote",
"error"_attr = status,
"remote"_attr = _session()->remote(),
- "connection_id"_attr = _session()->id());
+ "connectionId"_attr = _session()->id());
_state.store(State::EndSession);
return _runNextInGuard(std::move(guard));
} else if (_inExhaust) {
@@ -641,9 +637,8 @@ void ServiceStateMachine::terminateIfTagsDontMatch(transport::Session::TagMask t
// set, then skip the termination check.
if ((sessionTags & tags) || (sessionTags & transport::Session::kPending)) {
LOGV2(22991,
- "Skip closing connection for connection # {connection_id}",
"Skip closing connection for connection",
- "connection_id"_attr = _session()->id());
+ "connectionId"_attr = _session()->id());
return;
}