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

Leif Hedstrom commented on TS-621:
----------------------------------

>From what I can tell, it seems that even though it finds the appropriate 
>alternate, it is unable to open the cache for reading (I *think*). E.g. I see 
>this:

{code}
[May 18 19:54:12.896] Server {1172630384} DEBUG: (http_seq) 
[SelectFromAlternates] Chosen alternate # 0
[alts] and the winner is alternate number 1
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_proto) setupVCdataRead 
CACHE_EVENT_OPEN_READ seqno=43
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_proto) 
replyOpEvent(this=4191a900,event=1103,VC=ffffb115)
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_proto) cache operation 
failed result=1103 seqno=43 (this=4191a900)
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_proto) Sending 
reply/data seqno=43 buflen=0
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_proto) replyOpEvent: 
freeing this=4191a900
[May 18 19:54:12.897] Server {1172630384} DEBUG: (cache_free) free 0xa399d40
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_msg) cache_op-l op=7 
seqno=44 data=0xa2e3018 len=77 machine=0x41900468
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_new) new 0xa399d40
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_hosting) Generic 
volume: a1fc93cd for host: (null)
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_proto) 
replyOpEvent(this=4191a900,event=1108,VC=a399d40)
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_proto) cache_open [W] 
success seqno=44
[May 18 19:54:12.960] Server {1172630384} DEBUG: (cache_proto) Sending reply 
seqno=44, (this=4191a900)
[May 18 19:54:12.961] Server {1172630384} DEBUG: (cache_proto) replyOpEvent: 
freeing this=4191a900
[May 18 19:54:13.556] Server {1172630384} DEBUG: (cache_free) free 0xa399d40
{code}


> writing 0 bytes to the HTTP cache means only update the header... need a new 
> API: update_header_only() to allow 0 byte files to be cached
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TS-621
>                 URL: https://issues.apache.org/jira/browse/TS-621
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 2.1.5
>            Reporter: John Plevyak
>            Assignee: John Plevyak
>             Fix For: 2.1.9
>
>         Attachments: ts-621-jp-1.patch, ts-621-jp-2.patch, ts-621-jp-3.patch
>
>


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

Reply via email to