Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2892

Improve lazy initialize and close stream for `PrepRequestProcessor`

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: server

      Description

      Improve lazy initialize and close stream for `PrepRequestProcessor`

      • Delay the initialization of `ChangeRecord` and `ReconfigRequest` variables
      • Close the `ByteArrayOutputStream` I/O stream

        Attachments

          Activity

            People

            • Assignee:
              benedict jin Benedict Jin
              Reporter:
              benedict jin Benedict Jin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m