Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8117

stats without a cache name (after cd ...) shows a wrong statistic

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 9.1.1.Final
    • CLI
    • None
    • Hide

      Use a fresh server instance.
      Create a new cache additional to default, i.e. testcache
      Use a client to add some data to testcache
      use ispn-cli.sh
      cd /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default
      stats -> show no access
      cd /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=testcache
      stats -> show the same as before
      restart CLI and try the way vice versa, use testcache first!
      now the statistic of testcache is shown in both cases

      Show
      Use a fresh server instance. Create a new cache additional to default, i.e. testcache Use a client to add some data to testcache use ispn-cli.sh cd /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default stats -> show no access cd /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=testcache stats -> show the same as before restart CLI and try the way vice versa, use testcache first! now the statistic of testcache is shown in both cases
    • Hide

      Use the direct commands to get the correct output:
      /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=testcache:read-resource(include-runtime=true)

      stats testcache

      Show
      Use the direct commands to get the correct output: /subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=testcache:read-resource(include-runtime=true) stats testcache

      If there are more caches the command stats "remember" the last statistic from a previous stats invocation.

            Unassigned Unassigned
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: