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

Ilya Kasnacheev updated IGNITE-6131:
------------------------------------
    Summary: In visorcmd "cache on nodes" statistics doubles off-heap entries  
(was: In Visor "cache on nodes" statistics doubles off-heap entries)

> In visorcmd "cache on nodes" statistics doubles off-heap entries
> ----------------------------------------------------------------
>
>                 Key: IGNITE-6131
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6131
>             Project: Ignite
>          Issue Type: Bug
>          Components: visor
>    Affects Versions: 2.1
>            Reporter: Ilya Kasnacheev
>            Assignee: Alexey Kuznetsov
>         Attachments: Employees-project.zip
>
>
> Cache contains 300024 entries actually, but "Nodes for:" shows double that 
> number under Total field and repeats it in Heap and Off-Heap fields.
> {code}
> visor> cache -a -c=EmployeesCache
> Time of the snapshot: 08/21/17, 17:20:45
> +===============================================================================================================================+
> |       Name(@)       |    Mode     | Nodes |     Entries (Heap / Off-heap)   
>   |   Hits    |  Misses   |   Reads   |  Writes   |
> +===============================================================================================================================+
> | EmployeesCache(@c0) | PARTITIONED | 1     | min: 300024 (0 / 300024)        
>   | min: 0    | min: 0    | min: 0    | min: 0    |
> |                     |             |       | avg: 300024.00 (0.00 / 
> 300024.00) | avg: 0.00 | avg: 0.00 | avg: 0.00 | avg: 0.00 |
> |                     |             |       | max: 300024 (0 / 300024)        
>   | max: 0    | max: 0    | max: 0    | max: 0    |
> +-------------------------------------------------------------------------------------------------------------------------------+
> Cache 'EmployeesCache(@c0)':
> +-----------------------------------------------------------+
> | Name(@)                     | EmployeesCache(@c0)         |
> | Nodes                       | 1                           |
> | Total size Min/Avg/Max      | 300024 / 300024.00 / 300024 |
> |   Heap size Min/Avg/Max     | 0 / 0.00 / 0                |
> |   Off-heap size Min/Avg/Max | 300024 / 300024.00 / 300024 |
> +-----------------------------------------------------------+
> Nodes for: EmployeesCache(@c0)
> +=============================================================================================================+
> |      Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    |    
>      Size         | Hi/Mi/Rd/Wr |
> +=============================================================================================================+
> | C1AB91DD(@n0), 172.16.9.1 | 8    | 25.84 %   | 0.17 %   | 00:01:09:138 | 
> Total: 600048        | Hi: 0       |
> |                           |      |           |          |              |   
> Heap: 300024       | Mi: 0       |
> |                           |      |           |          |              |   
> Off-Heap: 300024   | Rd: 0       |
> |                           |      |           |          |              |   
> Off-Heap Memory: 0 | Wr: 0       |
> +-------------------------------------------------------------------------------------------------------------+
> {code}
> I'm attaching a simple project (by Ignite console) where this reproduces with 
> data from https://github.com/datacharmer/test_db



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to