-
Notifications
You must be signed in to change notification settings - Fork 363
based refactors: Use pcmk__request_t in the CIB manager #4154
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
nrwahl2
wants to merge
37
commits into
ClusterLabs:main
Choose a base branch
from
nrwahl2:nrwahl2-based_first
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
37 commits
Select commit
Hold shift + click to select a range
8867d48
Refactor: various: Drop cluster/internal.h includes from .c files
nrwahl2 6b63bca
Refactor: various: Don't include cluster/election_internal.h directly
nrwahl2 a16fb66
Refactor: various: Drop common/internal.h includes from .c files
nrwahl2 7d016f5
Refactor: based: Clean up shutdown logic
nrwahl2 b0aa2d9
Refactor: based: based_cib should always be non-NULL after init now
nrwahl2 56f7ded
Refactor: controller: Don't set mainloop to NULL in crmd_exit()
nrwahl2 5a22496
Refactor: various: Unref main loop consistently
nrwahl2 05166f4
Refactor: attrd: Drop mainloop_destroy_signal() from attrd_shutdown()
nrwahl2 536e4b9
Refactor: attrd: Assume main loop is running in attrd_shutdown()
nrwahl2 cc1ab8a
Refactor: based: Don't init node caches explicitly
nrwahl2 19a6288
Refactor: based: Drop based_peer_callback()
nrwahl2 6d0e08c
API: libcib: Deprecate cib_query and cib_connected_query
nrwahl2 dc7089b
Refactor: remoted: Drop cib_proxy_accept_ro()
nrwahl2 7be7e4f
Refactor: based: Check for old PCMK__SERVER_BASED_RW instance
nrwahl2 c17d49f
Refactor: based: Make PCMK__SERVER_BASED_RO behave like _RW
nrwahl2 60391d9
Refactor: based: Drop privileged argument of based_process_request()
nrwahl2 f773a3c
Refactor: libcib: Drop cib__op_attr_privileged
nrwahl2 d04c239
Refactor: liblrmd: Map proxied PCMK__SERVER_BASED_RO clients to _RW
nrwahl2 1439265
Refactor: libcrmcommon: pcmk__serve_based_ipc() starts only one server
nrwahl2 635374e
Refactor: based: Standardize based_cpg_dispatch()
nrwahl2 2652d38
Refactor: libcib: Drop unnecessary rc check in cib_native_signon()
nrwahl2 95611f7
Refactor: libcib: Unindent some of cib_native_signon()
nrwahl2 6279154
Refactor: libcib: Unindent more of cib_native_signon()
nrwahl2 1b431b7
Refactor: libcib: Unindent one more block of cib_native_signon()
nrwahl2 88c713b
Refactor: libcib: Compare CRM_OP_REGISTER case-sensitively
nrwahl2 e8ceff8
Feature: libcib: Ignore name argument of cib_api_operations_t:signon()
nrwahl2 b63210d
Feature: libcib: Don't set cib_t:type
nrwahl2 cd3ed6e
API: libcib: Deprecate cib_no_connection
nrwahl2 f4c78cc
Feature: libcib: Ignore type argument of signon method for native client
nrwahl2 b391967
API: libcib: Deprecate enum cib_conn_type
nrwahl2 97fb8b3
Refactor: libcib: Clean up the end of cib_native_signon()
nrwahl2 adbf9fd
Refactor: based: goto cleanup consistently in based_ipc_dispatch()
nrwahl2 2147d3f
Refactor: various: Use pcmk__is_set() and friends in more places
nrwahl2 e8c609b
Refactor: based: Add extra XML attrs only before based_process_request()
nrwahl2 5a4a4ef
Low: based: Ignore requests from unregistered clients
nrwahl2 fc7061d
Refactor: based: Standardize based_ipc_dispatch()
nrwahl2 e985f33
Refactor: libcrmcommon: Assert non-NULL args in pcmk__serve_execd_ipc()
nrwahl2 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
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.
We are inconsistent about logging in this case. You could either make it consistent in this PR (either way - logging or not), or I'll look at it when I get around to merging all this code together.