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/22 18:15:00 UTC
[jira] [Commented] (GEODE-6440) race condition in
StripedStatisticsImpl sets and gets
[ https://issues.apache.org/jira/browse/GEODE-6440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16775461#comment-16775461 ]
ASF subversion and git services commented on GEODE-6440:
--------------------------------------------------------
Commit ca41a5c32a317bbff672d76c4038f731746d6ffb in geode's branch refs/heads/develop from Helena Bales
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ca41a5c ]
GEODE-6440: synchronize when getting and setting (#3220)
Synchronize on getting and setting stats to avoid a race condition that
could occur when multiple threads were trying to set gauge stats.
Signed-off-by: Jacob Barrett <jb...@pivotal.io>
> race condition in StripedStatisticsImpl sets and gets
> -----------------------------------------------------
>
> Key: GEODE-6440
> URL: https://issues.apache.org/jira/browse/GEODE-6440
> Project: Geode
> Issue Type: Bug
> Affects Versions: 1.9.0, 1.10.0
> Reporter: Helena Bales
> Assignee: Helena Bales
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> A race condition exists in {{StripedStatisticsImpl}} when used for gauge statistics that can cause gets to read partial updates. Calling {{set}} concurrently could result in multiple cells containing the set value, when only one cell should have a value, or none of the cells containing the new value when read by {{get}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)