[ 
https://issues.apache.org/jira/browse/GEODE-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darrel Schneider reassigned GEODE-5164:
---------------------------------------

    Assignee: Darrel Schneider

> 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
>
> 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)

Reply via email to