GitHub user pushkarpradhan opened a pull request:
https://github.com/apache/trafficserver/pull/280
TS3848
Fixes TS-3848.
A new variable proxy.config.http.cache.required (range: 0-2) controls
whether we will exit on cache or volume initialization failure.
0 Continue serving requests even if we failed to initialize the cache
1 Stop serving requests if none of the cache disks or volumes could be
initialized
2 Stop serving requests even if one or some of the cache disks or
volumes could not be initialized
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pushkarpradhan/trafficserver ts3848
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/280.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #280
----
commit bfb4547378b02668f71aebfac0dc5d1f944c34e6
Author: Pushkar Pradhan <[email protected]>
Date: 2015-08-17T22:54:05Z
Fix for TS-3848
commit 8de2a11d613b8331917856e6d9dacd8e0ba3167e
Author: Pushkar Pradhan <[email protected]>
Date: 2015-08-18T00:59:32Z
Also need to check for the wait_for_cache variable
commit ee065b864076065950a9ac3cdeb1b29ebcd52013
Author: Pushkar Pradhan <[email protected]>
Date: 2015-08-19T19:06:26Z
Refactoring code to use method CacheProcessor::cacheRequired
commit ce7e983c0f282a2aaa704d5de15a7154744c5bcd
Author: Pushkar Pradhan <[email protected]>
Date: 2015-08-19T19:33:07Z
Fail if total_nvol is defined, it can be zero
commit 28c124ed953e26d242f152113b52ca8faefc6df7
Author: Pushkar Pradhan <[email protected]>
Date: 2015-08-24T23:13:51Z
Checking for null pointer access before checking cache status
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---