]
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.