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

Visor CMD shows wrong REPLICATED cache max size

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.7
    • Component/s: visor
    • Labels:
      None

      Description

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

      Visor CMD cache command shows a wrong total

      +========================================================================================================================================+
      |            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    |
      +----------------------------------------------------------------------------------------------------------------------------------------+
      

      You find a correct total number only if cache -a is used and you calculate the sum of entries on each node manually:

      +===============================================================================================================+
      |       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       |
      +---------------------------------------------------------------------------------------------------------------+
      

        Attachments

        1. image-2018-09-11-11-14-02-347.png
          109 kB
          Vasiliy Sisko

          Activity

            People

            • Assignee:
              pkonstantinov Pavel Konstantinov
              Reporter:
              dmagda Denis A. Magda
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: