You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2018/04/12 21:34:00 UTC

[jira] [Created] (GEODE-5063) AbstractRegionMap.basicPut may get old value more than once

Darrel Schneider created GEODE-5063:
---------------------------------------

             Summary: AbstractRegionMap.basicPut may get old value more than once
                 Key: GEODE-5063
                 URL: https://issues.apache.org/jira/browse/GEODE-5063
             Project: Geode
          Issue Type: Improvement
          Components: regions
            Reporter: Darrel Schneider


AbstractRegionMap.doPutOnRegionEntry calls both of the following:

      setOldValueForDelta(putInfo);

      setOldValueInEvent(putInfo);

I think the logic in setOldValueForDelta can be moved into setOldValueInEvent.

As it is now we might fetch the old value twice when using delta.

 



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