Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

riak-admin reformat-indexes

  • Loading branch information...
commit 506e4c5baa16e28c893ae40c956ec7d0dc3842ab 1 parent 6599ec8
@jrwest jrwest authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 rel/files/riak-admin
View
12 rel/files/riak-admin
@@ -604,12 +604,22 @@ case "$1" in
shift
$NODETOOL rpc riak_core_console transfer_limit "$@"
;;
+ reformat[_-]indexes)
+ if [ $# -gt 3 ]; then
+ echo "Usage: $SCRIPT $1"
+ echo " $SCRIPT $1 --downgrade"
+ echo " $SCRIPT $1 <concurrency> [--downgrade]"
+ fi
+ ensure_node_running
+ shift
+ $NODETOOL rpc riak_kv_console reformat_indexes "$@"
+ ;;
*)
echo "Usage: $SCRIPT { cluster | join | leave | backup | restore | test | "
echo " reip | js-reload | erl-reload | wait-for-service | "
echo " ringready | transfers | force-remove | down | "
echo " cluster-info | member-status | ring-status | vnode-status |"
- echo " aae-status | diag | status | transfer-limit | "
+ echo " aae-status | diag | status | transfer-limit | reformat-indexes |"
echo " top [-interval N] [-sort reductions|memory|msg_q] [-lines N] }"
exit 1
;;
Please sign in to comment.
Something went wrong with that request. Please try again.