You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (Jira)" <ji...@apache.org> on 2021/04/08 21:06:00 UTC
[jira] [Resolved] (GEODE-6334) CachePerfStats operation count stats
may wrap to negative values
[ https://issues.apache.org/jira/browse/GEODE-6334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk Lund resolved GEODE-6334.
------------------------------
Resolution: Fixed
This ticket has been fixed by changes to {{AbstractStatisticsFactory}}. All {{createIntCounter}} methods now delegate to {{createLongCounter}}:
{noformat}
@Override
public StatisticDescriptor createIntCounter(String name, String description, String units) {
return createLongCounter(name, description, units);
}
{noformat}
> CachePerfStats operation count stats may wrap to negative values
> ----------------------------------------------------------------
>
> Key: GEODE-6334
> URL: https://issues.apache.org/jira/browse/GEODE-6334
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Reporter: Kirk Lund
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Many CachePerfStats operation count stats are implemented as IntCounters including puts and gets. They will wrap to negative values when incremented beyond Integer.MAX_VALUE.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)