Denis Magda created IGNITE-9503:
-----------------------------------

             Summary: Visor CMD shows wrong REPLICATED cache max size
                 Key: IGNITE-9503
                 URL: https://issues.apache.org/jira/browse/IGNITE-9503
             Project: Ignite
          Issue Type: Task
          Components: visor
    Affects Versions: 2.5
            Reporter: Denis Magda
            Assignee: Alexey Kuznetsov
             Fix For: 2.6


Started 2 nodes with a single replicated cache. Preloaded _500000_ entries 
there. 

Visor CMD *cache* command shows a wrong total
{code}
+========================================================================================================================================+
|            Name(@)            |    Mode    | Nodes |     Entries (Heap / 
Off-heap)     |   Hits    |  Misses   |   Reads   |  Writes   |
+========================================================================================================================================+
| CacheDataStreamerExample(@c0) | REPLICATED | 2     | min: 246106 (0 / 246106) 
         | min: 0    | min: 0    | min: 0    | min: 0    |
|                               |            |       | avg: 250000.00 (0.00 / 
250000.00) | avg: 0.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 |
|                               |            |       | max: 253894 (0 / 253894) 
         | max: 0    | max: 0    | max: 0    | max: 0    |
+----------------------------------------------------------------------------------------------------------------------------------------+
{code}

You find a correct total number only if *cache -a* is used and you calculate 
the sum of entries on each node manually:
{code}
+===============================================================================================================+
|       Node ID8(@), IP       | CPUs | Heap Used | CPU Load |   Up Time    |    
     Size         | Hi/Mi/Rd/Wr |
+===============================================================================================================+
| 44A2CF9C(@n1), 192.168.1.64 | 4    | 19.63 %   | 0.43 %   | 00:01:46.229 | 
Total: 253894        | Hi: 0       |
|                             |      |           |          |              |   
Heap: 0            | Mi: 0       |
|                             |      |           |          |              |   
Off-Heap: 253894   | Rd: 0       |
|                             |      |           |          |              |   
Off-Heap Memory: 0 | Wr: 0       |
+-----------------------------+------+-----------+----------+--------------+----------------------+-------------+
| 72DEC7B5(@n0), 192.168.1.64 | 4    | 9.69 %    | 0.50 %   | 00:02:00.456 | 
Total: 246106        | Hi: 0       |
|                             |      |           |          |              |   
Heap: 0            | Mi: 0       |
|                             |      |           |          |              |   
Off-Heap: 246106   | Rd: 0       |
|                             |      |           |          |              |   
Off-Heap Memory: 0 | Wr: 0       |
+---------------------------------------------------------------------------------------------------------------+
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to