MemcachedKeyCharacterError: Control characters not allowed

Bug #634646 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

lpnet had two oopses for MemcachedKeyCharacterError, both involving project group milestones.
    https://launchpad.net/avant-window-navigator/+milestones (ProjectGroup:+milestones)
        OOPS-1713F1094
   https://launchpad.net/drizzle-umbrella/+milestones (ProjectGroup:+milestones)
        OOPS-1713L1708
I do not know how to identify what is wrong, but the last line of the oops shows a memcache call that wraps differently that the ones before it:
    pt:lpnet:lp/registry/templates/productseries-milestone-table-row.pt,9760:a:1,0:UHJvamVjdEdyb3VwOmF2YW50LXdpbmRvdy1uYXZpZ2F0b3IvTWlsZXN0b25lOjAuMy4yLW1pbGVz dG9uZQ==,https_//launchpad.net/avant-window-navigator/+milestones?6j1C7h1nlChMeOdhfHjE8
^ There appears to be space in 8 characters before the '=='

Related branches

Revision history for this message
Stuart Bishop (stub) wrote :

The generated key should not contain any space characters. We need to munge things better.

Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Robert Collins (lifeless) wrote :

This is constently occuring on https://pastebin.canonical.com/37801/

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: [Bug 634646] Re: MemcachedKeyCharacterError: Control characters not allowed

On Tue, 2010-09-28 at 20:53 +0000, Robert Collins wrote:
> This is constently occuring on https://pastebin.canonical.com/37801/

This error will be fixed another way then--I had, and still have, plans
to remove the cache rule on +milestones and series because the private
cache rule is very ineffective.

Revision history for this message
Robert Collins (lifeless) wrote :

Am going to get the milestones page memcache disabled to permit users to work, we can reinstate when sinzui removes the problematic use.

Note that this will cause the page to be disabled on staging too (because flags are in the backed up and restored db)
select * from featureflag;
              scope | priority | flag | value | date_modified
---------------------------------+----------+----------+----------+----------------------------
 pageid:ProjectGroup:+milestones | 0 | memcache | disabled | 2010-09-29 00:52:29.775074

Gary Poster (gary)
Changed in launchpad-foundations:
assignee: nobody → Stuart Bishop (stub)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
milestone: none → 10.11
tags: added: qa-needstesting
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Stuart Bishop (stub)
tags: added: qa-untestable
removed: qa-needstesting
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.