Skip to content
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

Mas i1121 passringdir #992

Merged
merged 3 commits into from
Dec 6, 2022
Merged

Mas i1121 passringdir #992

merged 3 commits into from
Dec 6, 2022

Conversation

martinsumner
Copy link
Contributor

Break down the functions required for reip, so that it can be called from riak_kv_console without knowledge of the cluster name or of the ring directory. This makes it easier to write a reip admin command to be used when riak_core is not loaded with its standard configuration

The riak_kv_console:reip/1 function currently requires the node to be down but riak_core configuration to be available so that functions that rely on get_env will work.

Want to allow for a riak_kv_console:reip/3 where the Ring directory and ClusterName can be passed in.
Make Cluster a function arg
check_lastgasp/1 is not required when node is down (e.g. when running riak_kv_console:reip_manual/1).
@hmmr
Copy link
Contributor

hmmr commented Dec 6, 2022

+1

@martinsumner martinsumner merged commit 1afd61e into develop-3.0 Dec 6, 2022
@martinsumner martinsumner deleted the mas-i1121-passringdir branch December 6, 2022 18:18
martinsumner added a commit that referenced this pull request Dec 19, 2022
* Allow use of ring update functions without app

The riak_kv_console:reip/1 function currently requires the node to be down but riak_core configuration to be available so that functions that rely on get_env will work.

Want to allow for a riak_kv_console:reip/3 where the Ring directory and ClusterName can be passed in.

* Update riak_core_ring_manager.erl

Make Cluster a function arg

* Remove lastgasp check if do_write_rigfile/2

check_lastgasp/1 is not required when node is down (e.g. when running riak_kv_console:reip_manual/1).
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