[FLINK-39490][web] Improve feedback when cluster is unreachable#27971
Open
spuru9 wants to merge 4 commits intoapache:masterfrom
Open
[FLINK-39490][web] Improve feedback when cluster is unreachable#27971spuru9 wants to merge 4 commits intoapache:masterfrom
spuru9 wants to merge 4 commits intoapache:masterfrom
Conversation
Collaborator
Contributor
Author
|
@och5351 Can you check this too if possible. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
When the Flink cluster becomes unreachable (JobManager down, network blip, proxy returning 5xx), the dashboard gives no clear signal — pages sit with stale data and scattered per-request errors. This change detects persistent unreachability and surfaces a single, clear notification.
Brief change log
0/>=500) inStatusServiceand show a single persistent"Network Error"toast once 5 consecutive failures occur. The toast auto-dismisses on the next successful response and re-triggers after another streak if the user dismissed it during an ongoing outage.JobService.loadJobnow returnsEMPTYon error instead of breaking the Job Detail view, and the header badge refreshes immediately when a new server error arrives.Verifying this change
Verified manually: kill the JobManager and confirm the toast appears once after ~5 failed polls; restart and confirm it auto-dismisses; dismiss manually during an outage and confirm it reappears after another 5 failures.
Does this pull request potentially affect one of the following parts:
@Public(Evolving): noDocumentation