[
https://issues.apache.org/jira/browse/GEODE-5164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-5164:
----------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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)