diff --git a/src/odyssey/sources/backend.c b/src/odyssey/sources/backend.c index fac07f711f6a..c0e12072341d 100644 --- a/src/odyssey/sources/backend.c +++ b/src/odyssey/sources/backend.c @@ -97,7 +97,8 @@ void od_backend_error(od_server_t *server, char *context, char *data, if (server->client != NULL && ((od_client_t *)server->client)->type == OD_POOL_CLIENT_EXTERNAL) - od_frontend_fatal(server->client, KIWI_CONNECTION_DOES_NOT_EXIST, error.hint); + od_frontend_error(server->client, KIWI_CONNECTION_DOES_NOT_EXIST, + error.hint, od_io_error(&server->io)); } } } diff --git a/src/odyssey/sources/frontend.c b/src/odyssey/sources/frontend.c index f01b3c88a197..826afc79a3dc 100644 --- a/src/odyssey/sources/frontend.c +++ b/src/odyssey/sources/frontend.c @@ -1909,14 +1909,6 @@ static void od_frontend_cleanup(od_client_t *client, char *context, if (od_frontend_status_is_err(status)) { od_error_logger_store_err(l, status); - if (yb_is_route_invalid(client->route)) { - if (client->type == OD_POOL_CLIENT_EXTERNAL) - od_frontend_fatal( - client, KIWI_CONNECTION_FAILURE, - "Database might have been dropped by another user"); - return; - } - if (route->extra_logging_enabled && !od_route_is_dynamic(route)) { od_error_logger_store_err(route->err_logger, status);