You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/01/22 21:27:52 UTC

[GitHub] [ignite] dmagda commented on a change in pull request #8691: IGNITE-13285

dmagda commented on a change in pull request #8691:
URL: https://github.com/apache/ignite/pull/8691#discussion_r562923319



##########
File path: docs/_docs/tools/control-script.adoc
##########
@@ -646,4 +646,50 @@ control.bat --change-tag _<new-tag>_
 ----
 --
 
+== Indexes Management
+
+The commands below allow to get a specific information on indexes and to trigger the indexes rebuild process.
+
+To get the list of all indexes that match specified filters, use the command:
+
+[source, shell]
+----
+--cache indexes_list [--node-id nodeId] [--group-name grpRegExp] [--cache-name cacheRegExp] [--index-name idxNameRegExp]

Review comment:
       The command is incomplete. There needs to be a version for Unix (control.sh) and Windows (control.bat). See how other commands are explained above.

##########
File path: docs/_docs/tools/control-script.adoc
##########
@@ -646,4 +646,50 @@ control.bat --change-tag _<new-tag>_
 ----
 --
 
+== Indexes Management
+
+The commands below allow to get a specific information on indexes and to trigger the indexes rebuild process.
+
+To get the list of all indexes that match specified filters, use the command:
+
+[source, shell]
+----
+--cache indexes_list [--node-id nodeId] [--group-name grpRegExp] [--cache-name cacheRegExp] [--index-name idxNameRegExp]
+----
+
+Parameters:
+
+[cols="1,3",opts="header"]
+|===
+| Parameter | Description
+| `--node-id nodeId`| Node ID for the job execution. If the ID is not specified, a node is chosen by the grid.
+| `--group-name regExp`| Regular expression enabling filtering by cache group name.
+| `--cache-name regExp`| Regular expression enabling filtering by cache name.
+| `--index-name regExp`| Regular expression enabling filtering by index name.
+|===
+
+To get the list of all caches that have index rebuild in progress, use the command below:
+
+[source, shell]
+----
+--cache indexes_rebuild_status [--node-id nodeId]

Review comment:
       Same here and down below. The command needs to start with a script name (control.sh or control.bat) and only then you pass in the parameters. Btw, try to run it, to make sure it works. That's required.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org