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

Miscellaneous fixes for --disable-monitor mode #486

Merged
merged 4 commits into from
Nov 3, 2020

Conversation

jchampio
Copy link
Contributor

Here are the first few things I ran into while investigating #483. See commit messages for details.

--run will be ignored anyway, so prohibit it to prevent confusion.
@DimCitus DimCitus self-requested a review October 30, 2020 10:02
@DimCitus DimCitus added the enhancement New feature or request label Oct 30, 2020
Copy link
Collaborator

@DimCitus DimCitus left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks! We might want to act on the comment I've left, and maybe you had other edits you wanted to add to this PR before we merge it?

About the Travis failure, I have another context in which I've seen it and I will prepare a separate PR that fixes the problem, I believe. Also we need more tests around synchronous_standby_names on the monitor and on the primary in the vein of what you've contributed already.

src/bin/pg_autoctl/fsm_transition.c Outdated Show resolved Hide resolved
@DimCitus
Copy link
Collaborator

About the Travis failure, I have another context in which I've seen it and I will prepare a separate PR that fixes the problem, I believe. Also we need more tests around synchronous_standby_names on the monitor and on the primary in the vein of what you've contributed already.

See #488

In this case, there's no monitor to talk to.
goalState is argv[0]. Also fix the usage documentation to include `id`
for the four-argument variant of the call.
@jchampio jchampio force-pushed the dev/misc-disable-monitor branch from b16e44f to 6213e59 Compare October 30, 2020 16:15
@jchampio
Copy link
Contributor Author

jchampio commented Oct 30, 2020

and maybe you had other edits you wanted to add to this PR before we merge it?

Nope, this is it for now.

About the Travis failure, I have another context in which I've seen it and I will prepare a separate PR that fixes the problem, I believe.

The Travis failure is #481, I think. (The issue you've filed may also be contributing, but the test should probably be corrected as well.)

@DimCitus
Copy link
Collaborator

and maybe you had other edits you wanted to add to this PR before we merge it?

Nope, this is it for now.

Okay I'll merge it as soon as #488 is merged then!

About the Travis failure, I have another context in which I've seen it and I will prepare a separate PR that fixes the problem, I believe.

The Travis failure is #481, I think. (The issue you've filed may also be contributing, but the test should probably be corrected as well.)

Well from a quick reading it seems to me it's the same thing, the issue #481 should be fixed with the PR #488 ; can you have a look and confirm I'm not overlooking at some things?

@DimCitus DimCitus merged commit 3a0da2f into hapostgres:master Nov 3, 2020
@DimCitus
Copy link
Collaborator

DimCitus commented Nov 3, 2020

See also #494.

@jchampio jchampio deleted the dev/misc-disable-monitor branch November 3, 2020 18:25
@jchampio jchampio restored the dev/misc-disable-monitor branch November 3, 2020 19:11
@jchampio
Copy link
Contributor Author

jchampio commented Nov 3, 2020

@DimCitus FYI, the squash commit that was pushed to master contains different authorship information for me than the original patches (personal vs work email). I think this is a known issue when using some of GitHub's online tools.

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

Successfully merging this pull request may close these issues.

2 participants