Your message dated Tue, 18 Dec 2007 13:06:31 +0100
with message-id <[EMAIL PROTECTED]>
and subject line libcache-memcached-perl: Spaces in keys are silently ignored
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libcache-memcached-perl
Version: 1.20-1
Severity: normal

If you have a space in the key, no entry is made in the Memcached
server. Took me a while to figure this out after getting an appalling
number of cache misses...

Having just played with the server directly with telnet, this seems to
be correct behaviour (there doesn't seem to be any way of quoting key
values to allow spaces in them)

I can't think of a way of safely adding support for this without
changing the protocol or breaking other clients, so maybe just adding
something to the documentation warning about this would be sufficient.
There doesn't seem to be anything about this reported anywhere else (a
Google search on "memcached key space" doesn't come up with anything
interesting).

FYI, example code:

#!/usr/bin/perl

use strict;
use Cache::Memcached;

my ($memd, $key);

$memd = new Cache::Memcached{ 'servers' => ['127.0.0.1:11211'], };

$key = 'cow';
$memd->set($key, 'grass');
print "A $key eats ".($memd->get($key) || '{not set}')."\n";

$key = 'spider monkey';
$memd->set($key, 'bananas');
print "A $key eats ".($memd->get($key) || '{not set}')."\n";

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcache-memcached-perl depends on:
ii  libstring-crc32-perl          1.4-1      Perl interface for cyclic redundan
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

libcache-memcached-perl recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Package: libcache-memcached-perl
Version: 1.20-1
Severity: normal
owner 453094 Debian Perl Group <[EMAIL PROTECTED]>
thanks

Upstream claims this issue is already in the documentation. Please
see the mailing list: 
http://lists.danga.com/pipermail/memcached/2007-December/005961.html

I am closing this bug.

        Jeremiah


--- End Message ---

Reply via email to