You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Pushkar Pradhan (JIRA)" <ji...@apache.org> on 2015/08/17 22:28:45 UTC
[jira] [Commented] (TS-3837) The setting wait_for_cache waits
indefinitely even when there are no cache disks configured.
[ https://issues.apache.org/jira/browse/TS-3837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700169#comment-14700169 ]
Pushkar Pradhan commented on TS-3837:
-------------------------------------
I can fix this too. Would it be ok to just exit if we failed to initialize any caches and if proxy.config.http.cache.required = 1.
> 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)