-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failover status in appliance_console UI is incomplete #164
Comments
Since I will not be able to find where this code is again so quickly... here is where the failover monitor writes the server information with a 300 second sleep between checks and where the new servers are stored when we detect differences between repmgr.nodes and our local cache. |
and
|
As a followup, when we do add this feature, we should then update the doc to show the proper way to verify the primary and standby databases are up and active. |
We need to have 3 types of statuses:
|
Additionally, we should really really be careful about allowing someone to setup a standby on a database that currently is a primary as the standby configuration causes the database to be reset so it can mirror the primary. |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
@jrafanie Should we move this help wanted? |
The UI currently shows:
Local Database Server: running (primary)
What it doesn't show, however, is whether standbys are known to the server or not. I propose we change this message to give the user information about the standby servers as well.
Something like:
Local Database Server: running (primary; 0 standby servers available)
Local Database Server: running (primary; 1 standby server available)
Local Database Server: running (standby; primary server available)
The difficulty here will be that the failover monitor itself has a delay based on the check frequency, but this runs as a separate service. One possibility could be to send a signal (such as SIGUSR1 or SIGINFO) to the service which dumps the information. Another option is to have a user-friendly proctitle for the service which lists a summary of the information.
The text was updated successfully, but these errors were encountered: