Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1112

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • JDG 7.1.0 GA
    • CLI
    • None
    • 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
    • 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

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

            vblagoje Vladimir Blagojevic (Inactive)
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: