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 20:57:00 GMT


ASF subversion and git services commented on GEODE-6440:

Commit acf39ac301197a7be5df1b27ddf0a60aa6fc876d in geode's branch refs/heads/release/1.9.0
from Helena Bales
[;h=acf39ac ]

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 <>
(cherry picked from commit ca41a5c32a317bbff672d76c4038f731746d6ffb)

> 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
>             Fix For: 1.9.0, 1.10.0
>          Time Spent: 40m
>  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