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

Galder Zamarreño (Jira) issues at jboss.org
Thu Apr 11 04:55:04 EDT 2019


     [ https://issues.jboss.org/browse/ISPN-10038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-10038:
------------------------------------
    Labels: rhdemo-2019  (was: )


> 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
>            Priority: Major
>              Labels: rhdemo-2019
>
> 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