lp://staging/~trond-norbye/libmemcached/mget_execute
Created by
Trond Norbye
and last modified
- Get this branch:
- bzr branch lp://staging/~trond-norbye/libmemcached/mget_execute
Only
Trond Norbye
can upload to this branch. If you are
Trond Norbye
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Libmemcached-developers: Pending requested
-
Diff: 1024 lines12 files modifieddocs/Makefile.am (+8/-0)
docs/memcached_get.pod (+39/-3)
libmemcached/common.h (+2/-1)
libmemcached/memcached.h (+1/-0)
libmemcached/memcached_connect.c (+19/-21)
libmemcached/memcached_fetch.c (+1/-1)
libmemcached/memcached_get.c (+99/-73)
libmemcached/memcached_get.h (+25/-6)
libmemcached/memcached_io.c (+109/-20)
libmemcached/memcached_key.c (+2/-3)
libmemcached/memcached_types.h (+9/-3)
tests/function.c (+174/-0)
Related bugs
Bug #447237: const-correctness in interface | Undecided | Fix Released |
|
Bug #447342: mget with replication misses sending noops | Undecided | Fix Released |
|
Related blueprints
Branch information
Recent revisions
- 608. By Trond Norbye
-
Fix problems with multigets and replication
The current code could go out of sync and send multiple "NOOP" to the same
server depending on the replica number to get, and the fetch-code isn't
capable of handling that. The memcached_mget_execute code also complcates this
because it could process some of the messages while receiving them so we
cannot reset the get sequence if we are able to send out the commands but
not the NOOP... To create a sane patch for this I disabled the buffered mode.
It will increase the number of packets sent to the server, but at least we
have a well defined behavior.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
- Stacked on:
- lp://staging/~tangent-org/libmemcached/trunk