[
https://issues.apache.org/jira/browse/ASTERIXDB-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956437#comment-17956437
]
ASF subversion and git services commented on ASTERIXDB-3618:
------------------------------------------------------------
Commit 95abfda5ab061f19e63a7739ce1b9b3a98032832 in asterixdb's branch
refs/heads/master from Ian Maxon
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=95abfda5ab ]
[ASTERIXDB-3618][STO] Close Library Downloader
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
The IParallelDownloader instances used to page in
libraries from S3 aren't being closed, which is
not good. Fix this, and make IParallelDownloader
an AutoCloseable.
Ext-ref: MB-67071
Change-Id: I524cbfb6685bd3c123a6ad2db48482e5a2a1ce61
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19869
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
> Library cloud storage not closing resources properly
> ----------------------------------------------------
>
> Key: ASTERIXDB-3618
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3618
> Project: Apache AsterixDB
> Issue Type: Bug
> Reporter: Ali Alsuliman
> Assignee: Ian Maxon
> Priority: Major
>
> The two methods that download libraries upon library install and node join
> don't close their IParallelDownloader instance, which will leak those
> resources. These should be closed properly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)