diff --git a/gateway-ha/src/main/java/io/trino/gateway/ha/resource/EntityEditorResource.java b/gateway-ha/src/main/java/io/trino/gateway/ha/resource/EntityEditorResource.java index 7dcc7e0c3..837d37eba 100644 --- a/gateway-ha/src/main/java/io/trino/gateway/ha/resource/EntityEditorResource.java +++ b/gateway-ha/src/main/java/io/trino/gateway/ha/resource/EntityEditorResource.java @@ -87,7 +87,7 @@ public Response updateEntity( OBJECT_MAPPER.readValue(jsonPayload, ProxyBackendConfiguration.class); gatewayBackendManager.updateBackend(backend); log.info("Setting up the backend %s with healthy state", backend.getName()); - routingManager.updateBackEndHealth(backend.getName(), true); + routingManager.updateBackEndHealth(backend.getName(), backend.isActive()); break; case RESOURCE_GROUP: ResourceGroupsDetail resourceGroupDetails = OBJECT_MAPPER.readValue(jsonPayload,