Skip to content
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

Move "set read-only" operation from pre-demote to demote #1006

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ikedaj
Copy link

@ikedaj ikedaj commented Jul 30, 2017

Pacemaker will call "pre-demote" when its transition start.
At this time, some MySQL clients don't stop nomary.
They might try to update their status during stop operation, but MySQL is already "read-only" mode.
It's better to do "set read-only" at, not "pre-demote" but "demote".

Pacemaker will call "pre-demote" when its transition start.
At this time, some MySQL clients don't stop nomary.
They might try to update their status during stop operation, but MySQL is already "read-only" mode.
It's better to do "set read-only" at, not "pre-demote" but "demote".
@krig krig added the bug label Aug 8, 2017
else
ocf_log info "Ignoring post-demote notification execpt for my own demotion."
fi
ocf_log info "Ignoring pre-demote notification for my own demotion."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This log message doesn't seem to be correct, i.e. there's a case of "my demotion" but also one of "demotion of the other".

@dmuhamedagic
Copy link
Contributor

dmuhamedagic commented Oct 8, 2017 via email

@knet-jenkins
Copy link

knet-jenkins bot commented Jun 12, 2023

Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/resource-agents-pipeline/job/PR-1006/1/input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants