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/01 19:35:00 UTC
[jira] [Created] (GEODE-5164) refactor the three blocks of code in
txApplyPut into one method
Darrel Schneider created GEODE-5164:
---------------------------------------
Summary: 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
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)