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

Console counters unable to correctly display all long values

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Currently the console is unable to display all possible counter values, as the max integer that can be represented by javascript is (2^53)-1, whereas Java is (2^63)-1. Normally the workaround for this would be to simply store the number as a String, however the counter value is returned as a number in the returned JSON, so it is automatically parsed as a number by the console and the exact value is lost.

              dipgupta@redhat.com Dipanshu Gupta
              remerson@redhat.com Ryan Emerson
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: