Supporting functions for Riak Admin API#152
Open
hmmr wants to merge 38 commits into
Open
Conversation
Ready to start again with the SilverMachine handler mochijson2 is still available (due to rhc). mochihex temporarily reinstated due to tictac aae console
With basic unit tests - end-to-end testing WIP
Testing is WIP
Add routing tests
Now passes all group 2i_all
WIP to add If-Match back into HTTP (was handled in WebMachine decision_core)
Previously check was in webmachine, so needs to be added into riak_kv now.
Should return multipart/mixed only if tis is preferred
Needless incompatibility with 3.4.1 with minimal gain in value
CRDT module not yet tested, other than basic test within http_bucket_types
Note that X-Riak-ClientId header is ignored, as it is now (unless there are nodes in the cluster < v 1.0).
specifically: node_info_for_riak_control/0, system_info/0, collect_all_app_env/0, apply_app_env/1, get_advanced_config/0, write_advanced_config/1
tictacaae_report:produce/0
This was referenced Jun 1, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A few new utility functions in riak_kv_util used in riak_admin_api Ag callbacks:
node_info_for_riak_control/0, to collect info forSystemGetVersionInfo;collect_all_app_env/0, forNodeGetAppEnv;apply_app_env/1, forNodePutAppEnv;get_advanced_config/0, forNodeGetAdvancedConfig;write_advanced_config/1, forNodePutAdvancedConfig.Also,
riak:deadmanshand_restart/0, forNodeRestart, which in turn relies on riak_deadmanshand script.Related PRs: OpenRiak/riak#35, OpenRiak/riak_test#28, OpenRiak/riak_core#47. Supersedes #125.
The branch underlying this PR is based on nhse-o40-orkv.i141-silvermachine, which has not been merged yet.