Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-972

CacheMemcache is too rigorous on write errors

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.0
    • PHP
    • None

    Description

      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....

      Attachments

        Activity

          People

            chabotc Chris Chabot
            mrbig Nagy Attila
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: