New app, Riak Admin API, evolution of Riak Control#35
Open
hmmr wants to merge 4 commits into
Open
Conversation
added 3 commits
May 7, 2026 15:56
This standalone script is intended to be started separately, possibly from a systemd unit-file. It will check, every 3 sec, for presence of a file named RESTART_RIAK in /run/riak, and execute `riak stop; riak start` if that file exists. The idea is to enable a full restart of riak initiated by an operator action taken remotely in riak_control (i.e., over http), in a situation when `riak restart` is insufficient (importantly, restarting riak this way will not cause cuttlefish to read and process riak.conf and advanced.config). This idea becomes especially useful in combination with remote editing and pushing advanced.config and riak.conf, implemented in riak_control, allowing operators entirely remotely to configure riak nodes and do a rolling restart subsequently, all without a need to have ssh and root access to riak boxes.
Contributor
|
If the permissions check depends on action - then action should be in the request line (e.g. URL, method, query parameter), and not the body. That way a) the flow of the functions in the This would align with the KV API - where the activity (and the Bucket) can be determined from the URI so controls can be applied via standard proxy filter rules. |
Contributor
Author
I agree. I'll have it as a query parameter. |
This was referenced Jun 2, 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.
This PR introduces riak_admin_api, a new app that exposes a well-defined API over HTTP to enable external control and management of riak clusters.
The difference from the previous attempt (OpenRiak/riak_kv#125) is in that:
Related PRs: OpenRiak/riak_kv#152, OpenRiak/riak_test#28, OpenRiak/riak_core#47.