Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13268

Add indexes manipulation commands to control.sh

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10
    • control.sh
    • None
    • Hide
      New sontrol.sh cache subcommands added:
        --indexes_list
        --indexes_rebuild_status
        --indexes_force_rebuild
      Show
      New sontrol.sh cache subcommands added:   --indexes_list   --indexes_rebuild_status   --indexes_force_rebuild
    • Docs Required, Release Notes Required

    Description

      These subcommands are to be added to the --cache command:

      --indexes_list

      Gets list of indexes info. Although filters can be specified via command arguments lines of output should still be grepable.

      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.

      --indexes_rebuild_status

      Gets list of indexes that are currently being rebuilt.

      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.

      --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.

      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.

       

      Attachments

        Issue Links

          Activity

            People

              vmalinovskiy Vladimir Malinovskiy
              vmalinovskiy Vladimir Malinovskiy
              Sergey Chugunov Sergey Chugunov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m