[Varnish] #1486: Failing assert in cnt_deliver(): (req->t_prev > req->obj->exp.t_origin) not true
Varnish
varnish-bugs at varnish-cache.org
Fri Apr 25 15:50:42 CEST 2014
#1486: Failing assert in cnt_deliver(): (req->t_prev > req->obj->exp.t_origin) not
true
----------------------+-----------------------------------------------
Reporter: lkarsten | Owner: Martin Blix Grydeland <martin@…>
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------
Changes (by Martin Blix Grydeland <martin@…>):
* owner: => Martin Blix Grydeland <martin@…>
* status: new => closed
* resolution: => fixed
Comment:
In [e258ca15604b210aad3d70960eccd21fce645778]:
{{{
#!CommitTicketReference repository=""
revision="e258ca15604b210aad3d70960eccd21fce645778"
Remove negative Age assertion and truncate to zero instead.
The Age reported on response objects is calculated from the last
request timestamp taken. For a cache hit that hasn't been on a
waitinglist, that will be the Start timestamp. This opens a race where
the requests' last timestamp could be before the objects t_origin.
Truncate the Age to zero rather than assert in that case.
Fixes: #1486
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1486#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list