[
https://issues.apache.org/jira/browse/SHINDIG-972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nagy Attila updated SHINDIG-972:
--------------------------------
Attachment: shindig_memcache_ignore_write_errors.patch
If memcache write error occous and we're in debug mode, we'll throw an
exception as before.
If debug mode is off, we'll just signal the error in the return value.
> CacheMemcache is too rigorous on write errors
> ---------------------------------------------
>
> Key: SHINDIG-972
> URL: https://issues.apache.org/jira/browse/SHINDIG-972
> Project: Shindig
> Issue Type: Improvement
> Components: PHP
> Affects Versions: 1.0.x-incubating
> Reporter: Nagy Attila
> Fix For: 1.0.0-rc1
>
> Attachments: shindig_memcache_ignore_write_errors.patch
>
>
> Memcache writes can occasionally result in error, even when the server is up
> and running. Such cases could be:
> - memcache is full, and automatic removal is disabled
> - allowed memory is allocated, but there's no slab for the given data size.
> Unfortunately this latter is very common, and bailing out in an error message
> is much more worse than simply not cacheing that certain data.
> I propose, that such errors aren't reported when debug mode is off. So if
> performance degrades, and a developer checks the system in debug mode could
> notice the errors inmediately, but the production system is not affected.
> Patch follows....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.