Skip to content

Supporting functions for Riak Admin API#152

Open
hmmr wants to merge 38 commits into
OpenRiak:openriak-4.0from
TI-Tokyo:tiot/openriak-4.0/external-riak-admin-api
Open

Supporting functions for Riak Admin API#152
hmmr wants to merge 38 commits into
OpenRiak:openriak-4.0from
TI-Tokyo:tiot/openriak-4.0/external-riak-admin-api

Conversation

@hmmr

@hmmr hmmr commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

A few new utility functions in riak_kv_util used in riak_admin_api Ag callbacks:

Also, riak:deadmanshand_restart/0, for NodeRestart, 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.

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
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants