[
https://issues.apache.org/jira/browse/ZOOKEEPER-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Koch updated ZOOKEEPER-1251:
-----------------------------------
Attachment: ZOOKEEPER-1251.patch
this patch adds 4 lines, deletes 18 lines
> call checkSession at begin of PrepRequestProcessor.pRequest
> -----------------------------------------------------------
>
> Key: ZOOKEEPER-1251
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1251
> Project: ZooKeeper
> Issue Type: Sub-task
> Reporter: Thomas Koch
> Assignee: Thomas Koch
> Attachments: ZOOKEEPER-1251.patch
>
>
> There are 6 locations that call checkSession. This can be reduced to one
> location and makes it also much clearer in which cases checkSession is called
> or not called.
> Note that in case that now the SessionMoved|Expired error is checked first
> before the check for a Marshalling error. However it shouldn't matter which
> error gets reported.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira