You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sd...@apache.org on 2022/08/31 14:58:52 UTC

[ignite] branch master updated: IGNITE-17522 Add documentation for schedule_index_rebuild (#10224)

This is an automated email from the ASF dual-hosted git repository.

sdanilov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new a25a27b54c5 IGNITE-17522 Add documentation for schedule_index_rebuild (#10224)
a25a27b54c5 is described below

commit a25a27b54c5e95ceb066390964d9d2842bc85c60
Author: IgGusev <de...@mail.ru>
AuthorDate: Wed Aug 31 18:58:40 2022 +0400

    IGNITE-17522 Add documentation for schedule_index_rebuild (#10224)
---
 docs/_docs/tools/control-script.adoc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/_docs/tools/control-script.adoc b/docs/_docs/tools/control-script.adoc
index 34af0126a0a..bd4189ad21e 100644
--- a/docs/_docs/tools/control-script.adoc
+++ b/docs/_docs/tools/control-script.adoc
@@ -1128,3 +1128,20 @@ control.sh|bat --cache metrics status --all-caches
 control.sh|bat --cache metrics enable --caches cache-2,cache-1
 ----
 
+== Rebuild index
+
+The `schedule_indexes_rebuild` commands Apache Ignite to rebuild indexes for specified caches or cache groups. Target caches or cache groups must be in Maintenance Mode.
+
+[source, shell]
+----
+ control.sh|bat --cache schedule_indexes_rebuild --node-id nodeId --cache-names cacheName[index1,...indexN],cacheName2,cacheName3[index1] --group-names groupName1,groupName2,...groupNameN
+----
+
+Parameters:
+
+[cols="1,3",opts="header"]
+|===
+| Parameter | Description
+|--node-id | A list of nodes to rebuild indexes on. If not specified, schedules rebuild on all nodes.
+|--cache-names | Comma-separated list of cache names, optionally with indexes. If indexes are not specified, all indexes of the cache will be scheduled for the rebuild operation. Can be used simultaneously with cache group names.
+|--group-names | Comma-separated list of cache group names. Can be used simultaneously with cache names.
\ No newline at end of file