#168 ✓resolved
Kieran P

Memcache error handling no longer compatible with 2.3

Reported by Kieran P | February 25th, 2009 @ 02:16 PM | in 1.3 (closed)

The memcached error handling code no longer works on Rails 2.3 and needs to be adapted for the new code

See lib/error_handler.rb, ActionController::Dispatcher and ActionController::Failsafe

Hopefully the reason for this overriding has been resolved, that is, in Rails 2.1, memcache errors were happening before the controller was loaded, thus not caught be the error handling in application.rb.

Comments and changes to this ticket

  • Kieran P

    Kieran P June 19th, 2009 @ 10:40 AM

    Two quick points:

    • Check whether memcache is needed in every page visit. With logins now cookie storage, it may not be necessary.

    • If it is necessary, investigate the use of rack middleware to catch the memcache errors.

  • Kieran P

    Kieran P July 6th, 2009 @ 08:31 PM

    • State changed from “new” to “resolved”

    Have hacked ActionController::Falesafe to handle memcache being offline. Looks to be working nicely. Resolving ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Tags

Pages