[
https://issues.apache.org/jira/browse/ZOOKEEPER-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154700#comment-16154700
]
ASF GitHub Bot commented on ZOOKEEPER-2892:
-------------------------------------------
GitHub user asdf2014 opened a pull request:
https://github.com/apache/zookeeper/pull/361
ZOOKEEPER-2892: Improve lazy initialize and close stream for
`PrepRequestProcessor`
Improve lazy initialize and close stream for `PrepRequestProcessor`
* Delay the initialization of `ChangeRecord` and `ReconfigRequest` variables
* Close the `ByteArrayOutputStream` I/O stream
@hanm PTAL
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/asdf2014/zookeeper ZOOKEEPER-2892
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/361.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #361
----
commit 3b053f2fe57b3b4bc52dac29134b6f68e7b48c6d
Author: asdf2014 <[email protected]>
Date: 2017-09-06T02:02:28Z
ZOOKEEPER-2892: Improve lazy initialize and close stream for
`PrepRequestProcessor`
----
> Improve lazy initialize and close stream for `PrepRequestProcessor`
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-2892
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2892
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Reporter: Benedict Jin
> Assignee: Benedict Jin
>
> Improve lazy initialize and close stream for `PrepRequestProcessor`
> * Delay the initialization of `ChangeRecord` and `ReconfigRequest` variables
> * Close the `ByteArrayOutputStream` I/O stream
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)