You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/08/15 22:44:00 UTC

[jira] [Created] (GEODE-5589) lastResultReceived is set to true well before the last message is sent

nabarun created GEODE-5589:
------------------------------

             Summary: 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


*+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)