Vladimir Malinovskiy created IGNITE-13268:
---------------------------------------------
Summary: Add indexes manipulation commands to control.sh
Key: IGNITE-13268
URL:
https://issues.apache.org/jira/browse/IGNITE-13268 Project: Ignite
Issue Type: Improvement
Components: control.sh
Reporter: Vladimir Malinovskiy
Assignee: Vladimir Malinovskiy
These subcommands are to be added to the *--cache* command:
h2. --indexes_list
Gets list of indexes info. Although filters can be specified via command arguments lines of output should still be grepable.
h4. Argument:
* *--node-id* is a UUID of node for which to perform the operation. If node isn’t specified explicitly it will be chosen by grid.
* *--group-name* is a regular expression corresponding to the group name.
* *--cache-name* is a regular expression corresponding to the name of the cache.
* *--index-name* is a regular expression that matches the name of the index.
h2. --indexes-rebuild-status
Gets list of indexes that are currently being rebuilt.
h4. Argument:
* *--node-id* is a UUID of node for which to perform the operation. If node isn’t specified explicitly indexes rebuild info will be collected from all nodes.
h2. --indexes_force_rebuild
Triggers force rebuild of indexes. This information should be reported in the output:
* List of caches that weren’t found.
* List of caches that have index rebuild in progress. Indexes rebuild shouldn’t be restarted for these caches.
* List of caches for which index rebuild was triggered.
Indexes rebuild should be performed asynchronously.
h4. Argument:
* *--node-id* is a UUID of node for which to perform the operation. Mandatory parameter.
* *--group-names* is a comma-separated list of group names for which to rebuild indexes. Either this option or --cache-names must be specified.
* *--cache-names* is a comma-separated list of cache names for which to rebuild indexes. Either this option or --group-names must be specified.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)