set_multi wants 'STORED' even for values it refuses to store
Bug #1436832 reported by
Bertrand Croq
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Memcached |
New
|
Undecided
|
Unassigned |
Bug Description
When set_multi decides that a value is too big to be stored, it still wants a 'STORED' from the server... the server is finally marked as dead.
Here is how to reproduce:
```
import memcache
c = memcache.
assert not any(server.
assert 'a' in c.set_multi({'a': 'a' * 1024 * 1025}), 'we were able to write more than 1Mb of data!'
assert not any(server.
```
raises an ```AssertionError: servers are marked dead after set_multi!``` but it shouldn't
To post a comment you must log in.