[
https://issues.apache.org/jira/browse/GEODE-5589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nabarun resolved GEODE-5589.
----------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
> lastResultReceived is set to true well before the last message is sent
> ----------------------------------------------------------------------
>
> Key: GEODE-5589
> URL: https://issues.apache.org/jira/browse/GEODE-5589
> Project: Geode
> Issue Type: Bug
> Components: functions
> Reporter: nabarun
> Assignee: nabarun
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> *+Issue+*:
> - In the method lastResult we immediately set the lastResultReceived to be
> true.
> - If an exception occurs after the flag is set and before the message is sent
> (like security exception)
> - Then this exception will never be sent to the client because the
> lastResultReceived is set and clients will be stuck waiting for the function
> results.
> *+Solution+*:
> - set the flag after the message is sent.
> *+Affected code+* :
> - ServerToClientFunctionResultSender65.java
> - ServerToClientFunctionResultSender.java
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)