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/05/02 18:22:14 UTC
[jira] [Resolved] (GEODE-5164) refactor the three blocks of code in
txApplyPut into one method
[ https://issues.apache.org/jira/browse/GEODE-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider resolved GEODE-5164.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
> refactor the three blocks of code in txApplyPut into one method
> ---------------------------------------------------------------
>
> Key: GEODE-5164
> URL: https://issues.apache.org/jira/browse/GEODE-5164
> Project: Geode
> Issue Type: Sub-task
> Components: transactions
> Reporter: Darrel Schneider
> Assignee: Darrel Schneider
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> AbstractRegionMap.txApplyPut currently has three blocks of code that do the put:
> 1. applyTxUpdateOnReplicateOrRedundantCopy is called and much of the code in it is the same as the oldRe block
> 2. oldRe block: if an existing entry is found, do the put by changing it
> 3. newRe block: if no existing entry is found, create a new entry and do the put by changing it
> It would help future refactoring of txApplyPut if these 3 blocks of code could be consolidated into a single method.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)