geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-6440) race condition in StripedStatisticsImpl sets and gets
Date Fri, 22 Feb 2019 18:16:00 GMT


ASF subversion and git services commented on GEODE-6440:

Commit ca41a5c32a317bbff672d76c4038f731746d6ffb in geode's branch refs/heads/develop from
Helena Bales
[;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 <>

> race condition in StripedStatisticsImpl sets and gets
> -----------------------------------------------------
>                 Key: GEODE-6440
>                 URL:
>             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

View raw message