Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOOKEEPER-4476: Backport ZOOKEEPER-3179 for branch-3.5 #1823

Closed

Conversation

AnanyaSingh2121
Copy link
Contributor

No description provided.

oa.writeLong(val, "val");
oa.writeString("/", "path");
crcOut.flush();
SnapStream.sealStream(snapOS, oa);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RESOURCE_LEAK: resource of type java.io.FileOutputStream acquired by call to getOutputStream(...) at line 214 is not released after line 219.
(at-me in a reply with help or ignore)

InputStream is;
switch (getStreamMode(file.getName())) {
case GZIP:
is = new GZIPInputStream(fis);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RESOURCE_LEAK: resource of type java.io.FileInputStream acquired by call to FileInputStream(...) at line 105 is not released after line 109.
(at-me in a reply with help or ignore)

OutputStream os;
switch (streamMode) {
case GZIP:
os = new GZIPOutputStream(fos);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RESOURCE_LEAK: resource of type java.io.FileOutputStream acquired by call to FileOutputStream(...) at line 129 is not released after line 133.
(at-me in a reply with help or ignore)

@eolivelli
Copy link
Contributor

I am sorry but branch 3.5 is no more active as we declared it End Of Life

@eolivelli eolivelli closed this Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants