This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1094540] Agents get permanently backfilled if backend database goes …
…offline for a moment Clean up some of the live availability doco/workflow: - Fix the jdoc for DiscoveryAgentService.getCurrentAvailability() to reflect reality - Fix ResourceManagerBean.getLiveResourceAvailability() to mark its avail report as a "ServerSideReport". This prevents it from interfering with server-agent backfill coordination. Also, correct some confusing inline doco and doe some cleanup. - Fix AvailabilityManagerBean.mergeAvailabilityReport() such that logic checking for the backfill flag does not execute *after* the backfill flag has been reset. And clean up the overall logic a bit more. - Improve jdoc for AvailabilityManagerLocal.updateLastAvailabilityReportInNewTransaction to clearly indicate its side-effect of clearing the backfill flag.
- Loading branch information
Showing
4 changed files
with
67 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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