#15149: Memcached backend: possible issue with cache keys
-----------------------------------------+----------------------------------
          Reporter:  j...@jeffcroft.com  |         Owner:  nobody   
            Status:  new                 |     Milestone:           
         Component:  Cache system        |       Version:  SVN      
        Resolution:                      |      Keywords:  memcached
             Stage:  Unreviewed          |     Has_patch:  0        
        Needs_docs:  0                   |   Needs_tests:  0        
Needs_better_patch:  0                   |  
-----------------------------------------+----------------------------------
Comment (by mmcnickle):

 I cannot reproduce this either:

 {{{
 Python: 2.6.5
 Django: SVN
 python-memcached: 1.47
 memcached: 1.4.2
 }}}

 {{{
 >>> django.VERSION
 (1, 3, 0, 'beta', 1)
 >>> from django.core.cache import cache
 >>> cache.clear()
 >>> cache.get('testing_yo')
 >>> cache.set('testing_yo', 'testing, yo!', 300)
 >>> cache.key_prefix
 'barstar_'
 >>> cache.get('testing_yo')
 'testing, yo!'
 }}}

 And the corresponding `memcached -vv` output:

 {{{
 <30 new auto-negotiating client connection
 30: Client using the ascii protocol
 <30 flush_all
 >30 OK
 <30 connection closed.
 <30 new auto-negotiating client connection
 30: Client using the ascii protocol
 <30 get barstar_:1:testing_yo
 >30 END
 <30 connection closed.
 <30 new auto-negotiating client connection
 30: Client using the ascii protocol
 <30 set barstar_:1:testing_yo 0 300 12
 >30 STORED
 <30 connection closed.
 <30 new auto-negotiating client connection
 30: Client using the ascii protocol
 <30 get barstar_:1:testing_yo
 >30 sending key barstar_:1:testing_yo
 >30 END
 <30 connection closed.
 }}}

 Can you give the version numbers for memcached and python-memcached too?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15149#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to