You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "William Bardwell (JIRA)" <ji...@apache.org> on 2011/04/25 19:49:03 UTC

[jira] [Updated] (TS-752) cache scan issues

     [ https://issues.apache.org/jira/browse/TS-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Bardwell updated TS-752:
--------------------------------

    Attachment: svn4.diff

This fixes the crash on fast cache scan canceling.

> cache scan issues
> -----------------
>
>                 Key: TS-752
>                 URL: https://issues.apache.org/jira/browse/TS-752
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 2.1.7, 2.1.6, 2.1.5, 2.1.4
>         Environment: Any
>            Reporter: William Bardwell
>         Attachments: svn4.diff
>
>
> Using the CacheScan plugin APIs I found a few issues.
> Issue 1 is that if you cancel a scan really quickly you can get a NULL dereference, the fix for this is easy.
> Issue 2 is that the cache scan code can skip over entries if the initial header overlaps a buffer boundary.
> Issue 3 is that the cache scan code is crazy slow if your cache is not full, it still scans everything.
> I will attach a patch for Issues 2 & 3 mixed together...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira