You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2016/07/04 16:55:11 UTC
[jira] [Resolved] (SLING-5820) AvroContentSerializer's
DataFileWriter should not be cached
[ https://issues.apache.org/jira/browse/SLING-5820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tommaso Teofili resolved SLING-5820.
------------------------------------
Resolution: Fixed
fixed in r1751343
> AvroContentSerializer's DataFileWriter should not be cached
> -----------------------------------------------------------
>
> Key: SLING-5820
> URL: https://issues.apache.org/jira/browse/SLING-5820
> Project: Sling
> Issue Type: Bug
> Components: Distribution
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: Content Distribution Extensions 0.1.0
>
>
> {{AvroContentSerializer}} is caching a {{DataFileWriter}} as instance fields, this can lead to errors when exporting the stream as the writer may already be opened while serving concurrent exportStream requests.
> Such objects should be created at runtime, closed and garbage collected.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)