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

visorcmd doesn't clear local cache on client node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5.0.final
    • None
    • cache
    • None

    Description

      1. start server and client nodes with local cache
      2. populate local cache on client node
      3. execute 'cache -c=<local-cahce> -a'
        Nodes for: oh_local(@c11)
        +============================================================================================+
        |     Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    | Size | Hi/Mi/Rd/Wr |
        +============================================================================================+
        | AB439AC6(@n0), 127.0.0.1 | 8    | 59.63 %   | 4.77 %   | 00:26:04:528 | 0    | Hi: 0       |
        |                          |      |           |          |              |      | Mi: 0       |
        |                          |      |           |          |              |      | Rd: 0       |
        |                          |      |           |          |              |      | Wr: 0       |
        +--------------------------+------+-----------+----------+--------------+------+-------------+
        | 5F31343A(@n2), 127.0.0.1 | 8    | 84.63 %   | 3.00 %   | 00:17:37:568 | 0    | Hi: 0       |
        |                          |      |           |          |              |      | Mi: 0       |
        |                          |      |           |          |              |      | Rd: 0       |
        |                          |      |           |          |              |      | Wr: 0       |
        +--------------------------+------+-----------+----------+--------------+------+-------------+
        | 0251B9C4(@n1), 127.0.0.1 | 8    | 26.68 %   | 3.60 %   | 00:25:47:708 | 0    | Hi: 27144   |
        |                          |      |           |          |              |      | Mi: 18156   |
        |                          |      |           |          |              |      | Rd: 45300   |
        |                          |      |           |          |              |      | Wr: 186820  |
        +--------------------------------------------------------------------------------------------+
        
      4. execute 'cache -clear -c=<local-cache>
        visor> cache -clear -c=oh_local
        Cleared cache with name: oh_local
        +======================================================+
        |  Node ID8(@)  | Cache Size Before | Cache Size After |
        +======================================================+
        | AB439AC6(@n0) | 0                 | 0                |
        +------------------------------------------------------+
        
      5. then execute 'cache -c=<local-cahce> -a'
        Nodes for: oh_local(@c11)
        +============================================================================================+
        |     Node ID8(@), IP      | CPUs | Heap Used | CPU Load |   Up Time    | Size | Hi/Mi/Rd/Wr |
        +============================================================================================+
        | AB439AC6(@n0), 127.0.0.1 | 8    | 59.63 %   | 4.77 %   | 00:26:04:528 | 0    | Hi: 0       |
        |                          |      |           |          |              |      | Mi: 0       |
        |                          |      |           |          |              |      | Rd: 0       |
        |                          |      |           |          |              |      | Wr: 0       |
        +--------------------------+------+-----------+----------+--------------+------+-------------+
        | 5F31343A(@n2), 127.0.0.1 | 8    | 84.63 %   | 3.00 %   | 00:17:37:568 | 0    | Hi: 0       |
        |                          |      |           |          |              |      | Mi: 0       |
        |                          |      |           |          |              |      | Rd: 0       |
        |                          |      |           |          |              |      | Wr: 0       |
        +--------------------------+------+-----------+----------+--------------+------+-------------+
        | 0251B9C4(@n1), 127.0.0.1 | 8    | 26.68 %   | 3.60 %   | 00:25:47:708 | 0    | Hi: 27144   |
        |                          |      |           |          |              |      | Mi: 18156   |
        |                          |      |           |          |              |      | Rd: 45300   |
        |                          |      |           |          |              |      | Wr: 186820  |
        +--------------------------------------------------------------------------------------------+
        

      visorcmd should send 'clear' to all nodes in case of local cache or ask user to point node

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkonstantinov Pavel Konstantinov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: