You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/11/29 04:36:58 UTC

[jira] [Commented] (TS-5066) HostDB serialization leaks on error path.

    [ https://issues.apache.org/jira/browse/TS-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15704161#comment-15704161 ] 

James Peach commented on TS-5066:
---------------------------------

{noformat}
commit 4a380d9d683d425cb7b2af30e1d57f0260ab829a
Author: James Peach <jp...@apache.org>
AuthorDate: Sat Nov 26 11:47:04 2016 -0800

   TS-5066: Fix HostDB memory leaks on serialization failure.

   If the serializer fails to write the partition, the copied entries were
   being leaked. Clean up the cache entry allocation to centralize the
   pain of it and allow both the cache and the serializer to share the same
   allocation and free helpers.
{noformat}

> HostDB serialization leaks on error path.
> -----------------------------------------
>
>                 Key: TS-5066
>                 URL: https://issues.apache.org/jira/browse/TS-5066
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HostDB
>            Reporter: James Peach
>            Assignee: James Peach
>             Fix For: 7.1.0
>
>
> If the RefCountCacheSerializer hits an IO error, it leaks the copied cache entries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)