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-1985) IndexManager.needsRecalculation can miss cases where recalulation is needed
Date Mon, 07 Nov 2016 20:34:58 GMT


ASF subversion and git services commented on GEODE-1985:

Commit 4c0d302fcacdc338d967c2fb873c05d0a52f109f in incubator-geode's branch refs/heads/feature/GEODE-288
from [~upthewaterspout]
[;h=4c0d302 ]

GEODE-1985 Removing some string comparisons in the AttributesDescriptor

Optimizing the attributes descriptor by removing some string

> IndexManager.needsRecalculation can miss cases where recalulation is needed
> ---------------------------------------------------------------------------
>                 Key: GEODE-1985
>                 URL:
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.1.0-incubating
> When returning query results from an index, we check IndexManager.needsRecalculation
to see if an entry might have changed while the query was in progress. 
> Unfortunately, this method can return false negatives If an entry has not yet updated
the SAFE_QUERY_TIME field.
> The SAFE_QUERY_TIME is updated in LocalRegion.updateStatsForPut. That method is called
*after* the region entry was modified. So the SAFE_QUERY_TIME could be 0, even though an entry
was modified, which will make this expression false.

This message was sent by Atlassian JIRA

View raw message