[
https://issues.apache.org/jira/browse/GEODE-5528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568882#comment-16568882
]
ASF subversion and git services commented on GEODE-5528:
--------------------------------------------------------
Commit 41c16e35ff3691709bc47b824e6c9f4f6caf05df in geode's branch
refs/heads/feature/GEODE-5528 from [~bschuchardt]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=41c16e3 ]
GEODE-5528: client event listener invoked multiple times for the same
transactional operation
TXCommitMessage.combine() was checking to see if a RegionCommit was already
in its collection by using Collection.contains() but RegionCommit doesn't
implement equals() so this check would return false even if the collection
had a RegionCommit for the same Region.
The fix is to check for the region's path instead.
> client event listener invoked multiple times for the same transactional
> operation
> ---------------------------------------------------------------------------------
>
> Key: GEODE-5528
> URL: https://issues.apache.org/jira/browse/GEODE-5528
> Project: Geode
> Issue Type: Bug
> Components: transactions
> Reporter: Bruce Schuchardt
> Assignee: Bruce Schuchardt
> Priority: Major
>
> I observed a client cache's cache listener being invoked multiple times for
> the same transactional operation. The server handling the transaction commit
> was killed some time during the commit. Stats and logs seem to indicate that
> the commit had finished on the servers but the results had not been sent to
> the client. The client's stats show it retried the commit on another server
> and then got the results.
> Here are client logs for the transaction, which had a single destroy()
> operation:
> {noformat}
> [info 2018/07/13 18:24:00.506 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Committing transaction with id TXId:
> rs-2052RSFulla5i32xlarge-hydra-client-1(edgegemfire8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909:11909:loner):34556:c8ff5e96:edgegemfire8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909:2036
> [info 2018/07/13 18:24:02.659 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.660 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.660 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.660 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.660 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.661 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.661 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> [info 2018/07/13 18:24:02.661 PDT
> <vm_25_thr_51_edge8_rs-2052RSFulla5i32xlarge-hydra-client-1_11909> tid=0xbd]
> Invoked util.SilenceListener for key Object_19653: afterDestroy in edge8, pid
> 11909, vmID 25, operation DESTROY
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)