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

Add documentation for control.sh idle_verify --exclude-caches and --cache-filter

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.17
    • control.sh, documentation
    • Docs Required

    Description

      control.sh cache --help outputĀ 

      The '--cache subcommand' is used to get information about and perform actions with caches. The command has the following syntax:
      
      control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password PASSWORD] [--ping-interval PING_INTERVAL] [--ping-timeout PING_TIMEOUT] [--ssl-protocol SSL_PROTOCOL[, SSL_PROTOCOL_2, ..., SSL_PROTOCOL_N]] [--ssl-cipher-suites SSL_CIPHER_1[, SSL_CIPHER_2, ..., SSL_CIPHER_N]] [--ssl-key-algorithm SSL_KEY_ALGORITHM] [--keystore-type KEYSTORE_TYPE] [--keystore KEYSTORE_PATH] [--keystore-password KEYSTORE_PASSWORD] [--truststore-type TRUSTSTORE_TYPE] [--truststore TRUSTSTORE_PATH] [--truststore-password TRUSTSTORE_PASSWORD] --cache [subcommand] <subcommand_parameters>
      
      The subcommands that take [nodeId] as an argument ('list', 'contention' and 'validate_indexes') will be executed on the given node or on all server nodes if the option is not specified. Other commands will run on a random server node.
      
      
      Subcommands:
      --------------------------------------------------------------------------------
      
      --cache list regexPattern [--groups|--seq] [nodeId] [--config] [--output-format multi-line]
      
      Show information about caches, groups or sequences that match a regular expression. When executed without parameters, this subcommand prints the list of caches.
      
      Parameters:
      --config - print all configuration parameters for each cache.
      --output-format multi-line - print configuration parameters per line. This option has effect only when used with --config and without [--groups|--seq].
      --groups - print information about groups.
      --seq - print information about sequences.
      
      --------------------------------------------------------------------------------
      
      --cache contention minQueueSize [nodeId] [maxPrint]
      
      Show the keys that are point of contention for multiple transactions.
      
      --------------------------------------------------------------------------------
      
      --cache idle_verify [--dump] [--skip-zeros] [--check-crc] [(--exclude-caches cacheName1,...,cacheNameN)|(--cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT)|cacheName1,...,cacheNameN]
      
      Verify counters and hash sums of primary and backup partitions for the specified caches on an idle cluster and print out the differences, if any.
      
      Parameters:
      --check-crc - check the CRC-sum of pages stored on disk before verifying data consistency in partitions between primary and backup nodes.
      
      --------------------------------------------------------------------------------
      
      --cache validate_indexes [cacheName1,...,cacheNameN] [nodeId] [--check-first N|--check-through K]
      
      Validate indexes on an idle cluster and print out the keys that are missing in the indexes.
      
      Parameters:
      --check-first N - validate only the first N keys
      --check-through K - validate every Kth key
      
      --------------------------------------------------------------------------------
      
      --cache distribution nodeId|null [cacheName1,...,cacheNameN] [--user-attributes attrName1,...,attrNameN]
      
      Prints the information about partition distribution.
      
      --------------------------------------------------------------------------------
      
      --cache reset_lost_partitions cacheName1,...,cacheNameN
      
      Reset the state of lost partitions for the specified caches.

      Attachments

        Issue Links

          Activity

            People

              Artem Budnikov Artem Budnikov
              antonovsergey93 Sergey Antonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: