-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Description
While debugging the Django tests I found that pylibmc's flush_all reports an error when you have just set a erroneous key with a space:
>>> c = pylibmc.Client(['127.0.0.1:11211',])
>>> c.set('test', 'value')
True
>>> c.flush_all()
True
>>> c.set('test with a space', 'value')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
_pylibmc.SocketCreateError: error 11 from memcached_set: SUCCESS
>>> c.flush_all()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
_pylibmc.SomeErrors: error 19 from flush_all: SUCCESS
>>>
There seems to be a bit of lag in it, because after a short amount of time the flush will succeed.
This is on pylibmc 1.2.3 with libmemcached 1.0.15 and memcached 1.4.15
Metadata
Metadata
Assignees
Labels
No labels