-
Notifications
You must be signed in to change notification settings - Fork 355
Remove NACKs from IPC code #4041
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
Open
clumens
wants to merge
20
commits into
ClusterLabs:main
Choose a base branch
from
clumens:remove-naks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
171d24c
Low: daemons: Don't return a NACK if execd gets an unknown message.
clumens 2b4d3bb
Low: liblrmd: Explicitly handle receiving a NACK from execd.
clumens a479d9a
Refactor: daemons: Don't return a NACK on invalid execd messages.
clumens 92107db
Refactor: libcib: Unindent the end of cib_native_signon.
clumens ca4b9c0
Low: libcib: Explicitly handle receiving a NACK from based.
clumens b2c2164
Refactor: libcib: Minor refactorings in cib_tls_signon.
clumens 8e682e5
Low: libcib: Explicitly handle receiving a NACK from remote based.
clumens 1649adc
Refactor: daemons: Don't return a NACK on invalid based messages.
clumens 0c8d5e9
Refactor: libstonith: Unindent one level of stonith_api_signon.
clumens 663aa7f
Refactor: libstonith: Additional unindenting in stonith_api_signon.
clumens 580bab0
Low: libcib: Explicitly handle receiving a NACK from fenced.
clumens b29d7e3
Refactor: daemons: Don't return a NACK on invalid fenced messages.
clumens c887f23
Low: daemons: Don't NACK an invalid remote message.
clumens 8b38617
Low: daemons: Delay creating an xmlNode in handle_register_request.
clumens 714d247
Refactor: liblrmd: Fix log messages in remote_proxy_cb.
clumens 13ae208
Refactor: liblrmd: Minor refactorings in remote_proxy_cb.
clumens cbadda5
Refactor: libcrmcommon: Remove the tag argument from pcmk__ipc_create…
clumens 51e95cd
Refactor: libcrmcommon: Remove the tag argument from pcmk__ipc_create…
clumens 18111fb
Refactor: libcrmcommon: Remove the tag argument from pcmk__ipc_send_a…
clumens 314238d
Refactor: libcrmcommon: Remove the tag argument from pcmk__ipc_send_ack.
clumens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a
PCMK__VALUE_CIB_NOTIFYresponse falls through, wouldn't that result in a "Reply to CIB registration message has unknown type" message?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at this some more, I don't think the
lib/cib/cib_native.cportions of this PR are actually necessary, or perhaps this code is in the wrong spot. Incib_native_signon, we are only sending aCIB_OP_REGISTERmessage and there's only one possible response to that. I don't think there's any point in handling an ACK here.cib_native_perform_op_delegatelooks like the more correct spot for this. Let me know if this makes sense to you too.