[
https://issues.apache.org/jira/browse/GEODE-6330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757456#comment-16757456
]
ASF subversion and git services commented on GEODE-6330:
--------------------------------------------------------
Commit d78b1bf994a1101b109a29183fd103b120570e87 in geode's branch
refs/heads/feature/GEODE-6244b from Bill Burcham
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d78b1bf ]
GEODE-6330: Return a TransactionException when tx closed
Return a TransactionException if no transaction is open, when attempting
to perform a transactional operation.
Authored-by: Bill Burcham <[email protected]>
> ClassCastException When Performing Transactional Operation on Closed
> Transaction
> --------------------------------------------------------------------------------
>
> Key: GEODE-6330
> URL: https://issues.apache.org/jira/browse/GEODE-6330
> Project: Geode
> Issue Type: Bug
> Affects Versions: 1.8.0
> Reporter: Bill Burcham
> Assignee: Bill Burcham
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> When a {{FunctionStreamingResultCollector}} is processing (reply) messages
> for a transactional operation, it sometimes encounters a message that is a
> generic {{ReplyMessage}}, not a {{FunctionStreamingReplyMessage}}. This
> happens when the (remote) message processor ({{PartitionMessage.process()}})
> attempts to perform the operation, but finds that the transaction is already
> closed. {{process()}} replies with a generic {{ReplyMessage}} in that case,
> resulting in a {{ClassCastException}} over in the
> {{FunctionStreamingResultCollector}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)