You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2015/02/25 15:21:05 UTC

[jira] [Created] (IGNITE-344) Visor: cache sizes are in cache -scan and cache -clear commands

Sergey Kozlov created IGNITE-344:
------------------------------------

             Summary: Visor: cache sizes are in cache -scan and cache -clear commands
                 Key: IGNITE-344
                 URL: https://issues.apache.org/jira/browse/IGNITE-344
             Project: Ignite
          Issue Type: Bug
    Affects Versions: sprint-2
            Reporter: Sergey Kozlov
            Assignee: Yakov Zhdanov
            Priority: Minor
             Fix For: sprint-2


cache -clear and cache -scan show different size for same cache.
{noformat}
visor> cache -scan
Time of the snapshot: 02/25/15, 17:17:29
+===================================================================================================================================+
| # |           Name(@),            |                                    Nodes                                     |      Size      |
+===================================================================================================================================+
...
+---+-------------------------------+------------------------------------------------------------------------------+----------------+
| 4 | partitioned(@c4)              | [7399f079-ef35-4033-81f7-dfd06fa3ad43, cc0210f0-60cd-4473-8971-9d547f149c56] | min: 500000    |
|   |                               |                                                                              | avg: 500000.00 |
|   |                               |                                                                              | max: 500000    |
+---+-------------------------------+------------------------------------------------------------------------------+----------------+
...
Choose cache number ('c' to cancel) [c]:
visor> cache -clear -c=partitioned
Cleared cache with name: partitioned
+======================================================+
|  Node ID8(@)  | Cache Size Before | Cache Size After |
+======================================================+
| CC0210F0(@n0) | 1000000           | 0                |
+------------------------------------------------------+
visor> cache -scan
Time of the snapshot: 02/25/15, 17:18:06
+==============================================================================================================================+
| # |           Name(@),            |                                    Nodes                                     |   Size    |
+==============================================================================================================================+
...
+---+-------------------------------+------------------------------------------------------------------------------+-----------+
| 4 | partitioned(@c4)              | [7399f079-ef35-4033-81f7-dfd06fa3ad43, cc0210f0-60cd-4473-8971-9d547f149c56] | min: 0    |
|   |                               |                                                                              | avg: 0.00 |
|   |                               |                                                                              | max: 0    |
+---+-------------------------------+------------------------------------------------------------------------------+-----------+
...
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)