redict/src
antirez 1461422ce6 Replication: install the write handler when reusing a cached master.
Sometimes when we resurrect a cached master after a successful partial
resynchronization attempt, there is pending data in the output buffers
of the client structure representing the master (likely REPLCONF ACK
commands).

If we don't reinstall the write handler, it will never be installed
again by addReply*() family functions as they'll assume that if there is
already data pending, the write handler is already installed.

This bug caused some slaves after a successful partial sync to never
send REPLCONF ACK, and continuously being detected as timing out by the
master, with a disconnection / reconnection loop.
2013-10-04 16:12:25 +02:00
..
.gitignore Ignore gcov/lcov artifacts 2012-04-13 17:52:33 -07:00
adlist.c Fixed many typos. 2013-01-19 10:59:44 +01:00
adlist.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
ae_epoll.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae_evport.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae_kqueue.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae_select.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
ae.h ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
anet.c anet.c: save some vertical space. 2013-07-10 14:37:13 +02:00
anet.h Add IPv6 support to sentinel.c. 2013-07-08 16:08:36 +02:00
aof.c Use printf %zu specifier to print private_dirty. 2013-08-20 12:04:57 +02:00
asciilogo.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
bio.c Fixed many typos. 2013-01-19 10:59:44 +01:00
bio.h Make bio.c threads killable ASAP if needed. 2012-11-22 10:12:11 +01:00
bitops.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
cluster.c Cluster: new clusterDoBeforeSleep() API. 2013-10-03 09:58:06 +02:00
config.c Add REWRITE to CONFIG subcommands help message. 2013-09-30 11:53:18 +02:00
config.h Set proctitle: avoid the use of __attribute__((constructor)). 2013-02-27 11:50:35 +01:00
crc16.c Fixed many typos. 2013-01-19 10:59:44 +01:00
crc64.c crc64.c modified for incremental computation. 2012-04-09 12:20:47 +02:00
crc64.h Introduced the Build ID in INFO and --version output. 2012-11-29 14:20:08 +01:00
db.c Allow SHUTDOWN in loading state. 2013-06-27 12:18:29 +02:00
debug.c DEBUG SDSLEN added. 2013-08-27 11:53:49 +02:00
dict.c dictFingerprint(): cast pointers to integer of same size. 2013-08-20 11:49:55 +02:00
dict.h dict.c iterator API misuse protection. 2013-08-19 15:00:57 +02:00
endianconv.c endian.c/h -> endianconv.c/h to avoid issues with broken libraries search paths. 2012-02-14 16:11:46 +01:00
endianconv.h htonu64() and ntohu64 added to endianconv.h. 2013-09-25 09:26:36 +02:00
fmacros.h don't define _XOPEN_SOURCE for NetBSD 2013-05-17 17:19:02 +09:00
help.h redis-cli: help.h updated. 2013-05-14 11:23:16 +02:00
intset.c BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
intset.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
lzf_c.c redis.c split into many different C files. 2010-07-01 14:38:51 +02:00
lzf_d.c redis.c split into many different C files. 2010-07-01 14:38:51 +02:00
lzf.h redis.c split into many different C files. 2010-07-01 14:38:51 +02:00
lzfP.h Fixed many typos. 2013-01-19 10:59:44 +01:00
Makefile use install as default installer (except on SunOS) 2013-03-21 13:32:08 +11:00
Makefile.dep Set process name in ps output to make operations safer. 2013-02-26 11:52:12 +01:00
memtest.c Fixed a bug in memtest progress bar, that had no actual effects. 2013-01-21 12:34:22 +01:00
mkreleasehdr.sh suppress external diff program when using git diff. 2013-02-24 18:17:46 +01:00
multi.c Transactions: propagate MULTI/EXEC only when needed. 2013-03-26 10:58:10 +01:00
networking.c Replication: fix master timeout. 2013-10-04 12:59:24 +02:00
notify.c Keyspace notifications: fixed a leak and a bug introduced in the latest commit. 2013-01-28 13:15:16 +01:00
object.c Remove useful check from tryObjectEncoding(). 2013-08-27 12:36:52 +02:00
pqsort.c assert.h replaced with redisassert.h when appropriate. 2013-08-19 15:01:21 +02:00
pqsort.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
pubsub.c New API to force propagation. 2013-06-21 12:07:53 +02:00
rand.c BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
rand.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
rdb.c Update server.lastbgsave_status when fork() fails. 2013-08-27 10:16:29 +02:00
rdb.h Fixed many typos. 2013-01-19 10:59:44 +01:00
redis-benchmark.c redis-benchmark: changes to random arguments substitution. 2013-08-08 16:42:08 +02:00
redis-check-aof.c BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
redis-check-dump.c Fixed many typos. 2013-01-19 10:59:44 +01:00
redis-cli.c redis-cli: fix big keys search when the key no longer exist. 2013-09-04 10:35:53 +02:00
redis-trib.rb Cluster: fix redis-trib node config fingerprinting for new nodes format. 2013-09-25 12:58:06 +02:00
redis.c Cluster: react faster when a slave wins an election. 2013-09-26 16:54:43 +02:00
redis.h Cluster: new clusterDoBeforeSleep() API. 2013-10-03 09:58:06 +02:00
redisassert.h assert.h replaced with redisassert.h when appropriate. 2013-08-19 15:01:21 +02:00
release.c Fixed many typos. 2013-01-19 10:59:44 +01:00
replication.c Replication: install the write handler when reusing a cached master. 2013-10-04 16:12:25 +02:00
rio.c Chunked loading of RDB to prevent redis from stalling reading very large keys. 2013-07-16 15:41:24 +02:00
rio.h Fixed typo in rio.h, simgle -> single. 2013-07-16 15:43:36 +02:00
scripting.c Fixed critical memory leak from EVAL. 2013-08-29 11:54:03 +02:00
sds.c sdsrange() does not need to return a value. 2013-07-24 11:21:39 +02:00
sds.h Fix sdsempty() prototype in sds.h. 2013-08-12 11:38:21 +02:00
sentinel.c Cluster: slave node now uses the new protocol to get elected. 2013-09-26 11:13:17 +02:00
setproctitle.c Set proctitle: avoid the use of __attribute__((constructor)). 2013-02-27 11:50:35 +01:00
sha1.c Fixed many typos. 2013-01-19 10:59:44 +01:00
sha1.h redis.c split into many different C files. 2010-07-01 14:38:51 +02:00
slowlog.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
slowlog.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
solarisfixes.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
sort.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
syncio.c syncio.c read / write functions reworked for correctness and performance. 2012-05-02 22:41:50 +02:00
t_hash.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
t_list.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
t_set.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
t_string.c Introduction of a new string encoding: EMBSTR 2013-07-22 10:31:38 +02:00
t_zset.c Fix comments for correctness in zunionInterGenericCommand(). 2013-08-19 15:01:05 +02:00
testhelp.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
util.c Ignore sdsrange return value. 2013-07-24 18:59:54 +02:00
util.h pathIsBaseName() added to utils.c 2013-07-02 12:08:07 +02:00
valgrind.sup more valgrind friendly test 2011-07-06 15:22:00 +02:00
version.h Version bumped to 2.9.11 2013-05-27 11:44:04 +02:00
ziplist.c assert.h replaced with redisassert.h when appropriate. 2013-08-19 15:01:21 +02:00
ziplist.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
zipmap.c assert.h replaced with redisassert.h when appropriate. 2013-08-19 15:01:21 +02:00
zipmap.h mistype fixed 2013-09-03 15:15:51 +02:00
zmalloc.c Fixed many typos. 2013-01-19 10:59:44 +01:00
zmalloc.h zmalloc_get_private_dirty() function added (Linux only). 2012-11-19 11:47:35 +01:00