[ https://issues.apache.org/jira/browse/TS-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701521#comment-14701521 ]
Alan M. Carroll commented on TS-3837: ------------------------------------- I would tend to favor extending the life cycle API so that for any such optional but potentially critical resource there is * A life cycle hook when the initialization process for that resource is finished * An API function to determine the state of the resource. Then a plugin can do anything it likes at that point. > The setting wait_for_cache waits indefinitely even when there are no cache > disks configured. > -------------------------------------------------------------------------------------------- > > Key: TS-3837 > URL: https://issues.apache.org/jira/browse/TS-3837 > Project: Traffic Server > Issue Type: Bug > Components: Cache, HTTP > Affects Versions: 6.1.0 > Reporter: Sudheer Vinukonda > Assignee: Alan M. Carroll > Fix For: 6.1.0 > > > The setting *proxy.config.http.wait_for_cache* allows to let traffic_server > wait for the cache to initialize before processing requests (it basically > blocks accepts). This is fine when cache is configured, but, if there are no > disks configured in *storage.config*, this setting makes requests wait > indefinitely. Ideally, the setting should consider cache initialized > (disabled) when no disks are configured and just proxy the requests rather > than block them forever. -- This message was sent by Atlassian JIRA (v6.3.4#6332)