You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/02/23 18:58:00 UTC

[jira] [Commented] (GEODE-6425) Region stats for get/put/etc. roll over to negative values during benchmark

    [ https://issues.apache.org/jira/browse/GEODE-6425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775999#comment-16775999 ] 

ASF subversion and git services commented on GEODE-6425:
--------------------------------------------------------

Commit c00e1c79ae8fdf4d46e78958275bdde840d81538 in geode's branch refs/heads/develop from Helena Bales
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c00e1c7 ]

GEODE-6425: Fixes rollover in some cache stats (#3214)

Changes the following CachePerfStats to long:
 - gets
 - misses
 - put
 - update
 - create
 - destroys
 - invalidates 
 - clear

Handles the error caused by attempting to retrieve a long type stat as an
int. Returns the long value as an int with overflow. This is consistent
with previous behavior of the stats

Co-authored-by: Helena Bales <hb...@pivotal.io>
Co-authored-by: Jacob Barrett <jb...@pivotal.io>


> Region stats for get/put/etc. roll over to negative values during benchmark
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-6425
>                 URL: https://issues.apache.org/jira/browse/GEODE-6425
>             Project: Geode
>          Issue Type: Bug
>          Components: statistics
>            Reporter: Jacob S. Barrett
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> The region stats for put, gets, etc. are all implemented with an integer counter. This counter rolls over in less than 5 minutes on the function benchmarks, which perform fast get operations on execution. When viewed in a stats viewer, like VSD, the values go cause massive peaks and valleys.
> Increase these stats to long counters.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)