[dashboard] Fix GCS retry error message in dashboard_head (#18057)

This commit is contained in:
Simon Mo 2021-08-25 09:23:36 -07:00 committed by GitHub
parent 18ae99d8d8
commit ca61e43e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,8 @@ class DashboardHead:
if self._gcs_rpc_error_counter > \
dashboard_consts.GCS_CHECK_ALIVE_MAX_COUNT_OF_RPC_ERROR:
logger.error(
"Dashboard suicide, the GCS RPC error count %s > %s",
"Dashboard exiting because it received too many GCS RPC "
"errors count: %s, threshold is %s.",
self._gcs_rpc_error_counter,
dashboard_consts.GCS_CHECK_ALIVE_MAX_COUNT_OF_RPC_ERROR)
# TODO(fyrestone): Do not use ray.state in