Skip to content

Commit

Permalink
Bug#35899920 wrong debug message on authentication failure
Browse files Browse the repository at this point in the history
When authentication fails the Router logs sometimes contain the message:

  Error from the server while waiting for greetings message: ...

even greeting message from the server didn't report any failures.

Change
======

- remove wrong error-msg

Change-Id: Id0a9bc66f681e671a0790deb33f438d849061e2a
  • Loading branch information
weigon committed Oct 11, 2023
1 parent 4a70385 commit 1f07b43
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions router/src/routing/src/classic_greeting_receiver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -761,15 +761,6 @@ ClientGreetor::authenticated() {
tr.trace(Tracer::Event().stage("greeting::error"));
}

if (log_level_is_handled(mysql_harness::logging::LogLevel::kDebug)) {
// RouterRoutingTest.RoutingTooManyServerConnections expects this
// message.
log_debug(
"Error from the server while waiting for greetings message: "
"%u, '%s'",
connect_err_.error_code(), connect_err_.message().c_str());
}

stage(Stage::Error);

auto send_res =
Expand Down

0 comments on commit 1f07b43

Please sign in to comment.