[infinispan-issues] [JBoss JIRA] (ISPN-10038) Console counters unable to correctly display all long values

Ryan Emerson (Jira) issues at jboss.org
Mon Mar 11 12:52:01 EDT 2019


Ryan Emerson created ISPN-10038:
-----------------------------------

             Summary: Console counters unable to correctly display all long values
                 Key: ISPN-10038
                 URL: https://issues.jboss.org/browse/ISPN-10038
             Project: Infinispan
          Issue Type: Bug
          Components: Clustered Counter, Console
    Affects Versions: 9.4.9.Final, 10.0.0.Beta2
            Reporter: Ryan Emerson
            Assignee: Ryan Emerson


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list