You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alex Plehanov (Jira)" <ji...@apache.org> on 2023/05/03 16:26:00 UTC

[jira] [Updated] (IGNITE-11076) Add documentation for control.sh idle_verify --exclude-caches and --cache-filter

     [ https://issues.apache.org/jira/browse/IGNITE-11076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Plehanov updated IGNITE-11076:
-----------------------------------
    Fix Version/s: 2.16
                       (was: 2.15)

> Add documentation for control.sh idle_verify --exclude-caches and --cache-filter
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-11076
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11076
>             Project: Ignite
>          Issue Type: Task
>          Components: control.sh, documentation
>            Reporter: Sergey Antonov
>            Assignee: Artem Budnikov
>            Priority: Major
>              Labels: ise
>             Fix For: 2.16
>
>
> control.sh cache --help outputĀ 
> {noformat}
> 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.{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)