redis/src
antirez 5b7d42fff3 PSYNC2: bugfixing pre release.
1. Master replication offset was cleared after switching configuration
to some other slave, since it was assumed you can't PSYNC after a
switch. Note the case anymore and when we successfully PSYNC we need to
have our offset untouched.

2. Secondary replication ID was not reset to "000..." pattern at
startup.

3. Master in error state replying -LOADING or other transient errors
forced the slave to discard the cached master and full resync. This is
now fixed.

4. Better logging of what's happening on failed PSYNCs.
2016-11-23 17:36:45 +01:00
..
modules Modules: use RedisModule_AbortBlock() in the example. 2016-10-13 17:00:45 +02:00
.gitignore
Makefile Child -> Parent pipe for COW info transferring. 2016-09-19 13:45:20 +02:00
adlist.c various cleanups and minor fixes 2016-04-25 16:49:57 +03:00
adlist.h
ae.c ae.c: Fix delay until next timer event. 2016-04-04 14:13:46 +02:00
ae.h Fix ae.c to avoid timers infinite loop. 2016-04-04 08:50:58 +02:00
ae_epoll.c various cleanups and minor fixes 2016-04-25 16:49:57 +03:00
ae_evport.c
ae_kqueue.c
ae_select.c Include 'fd_set' type name 2016-06-07 16:46:00 -04:00
anet.c fix tcp binding when IPv6 is unsupported 2016-09-09 14:59:21 +02:00
anet.h Fix ae.c to avoid timers infinite loop. 2016-04-04 08:50:58 +02:00
aof.c PSYNC2: different improvements to Redis replication. 2016-11-09 15:37:15 +01:00
asciilogo.h
atomicvar.h Remove "Hey!" warning... 2016-10-19 10:43:40 +02:00
bio.c
bio.h
bitops.c bitops.c/bitfieldCommand: update higest_write_offset with check 2016-10-22 01:54:46 +08:00
blocked.c Module: API to block clients with threading support. 2016-10-07 11:55:35 +02:00
childinfo.c Clear child data when opening the pipes. 2016-09-19 14:11:17 +02:00
cluster.c Cluster: handle zero bytes at the end of nodes.conf. 2016-11-16 14:13:18 +01:00
cluster.h Cluster announce ip / port initial implementation. 2016-01-29 09:06:37 +01:00
config.c Security: CONFIG SET client-output-buffer-limit overflow fixed. 2016-09-26 08:47:52 +02:00
config.h
crc16.c
crc64.c
crc64.h
db.c PSYNC2: different improvements to Redis replication. 2016-11-09 15:37:15 +01:00
debug.c PSYNC2: different improvements to Redis replication. 2016-11-09 15:37:15 +01:00
debugmacro.h Use the standard predefined identifier __func__ (since C99) 2016-08-04 15:12:12 +08:00
dict.c dict.c: fix dictGenericDelete() return ASAP condition. 2016-09-20 17:22:30 +02:00
dict.h dict.c: dictReplaceRaw() -> dictAddOrFind(). 2016-09-14 16:43:38 +02:00
endianconv.c
endianconv.h
evict.c Volatile-ttl eviction policy implemented in terms of the pool. 2016-07-20 19:54:12 +02:00
expire.c Add expire.c and evict.c. 2016-07-06 15:28:18 +02:00
fmacros.h
geo.c Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
geo.h
geohash.c Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
geohash.h Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
geohash_helper.c Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
geohash_helper.h Fix definition of M_PI in geohash_helper.c. 2016-07-06 16:31:11 +02:00
help.h redis-cli help.h updated. 2016-06-14 14:45:28 +02:00
hyperloglog.c
intset.c Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
intset.h Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
latency.c zmalloc: zmalloc_get_smap_bytes_by_field() modified to work for any PID. 2016-09-19 10:28:42 +02:00
latency.h
lazyfree.c Apply the new dictUnlink() where possible. 2016-09-14 16:37:53 +02:00
lzf.h
lzfP.h
lzf_c.c
lzf_d.c
memtest.c Hopefully better memory test on crash. 2015-12-16 17:41:22 +01:00
mkreleasehdr.sh
module.c fixed sizeof in allocating io RedisModuleCtx* 2016-10-31 18:48:16 +02:00
multi.c
networking.c PSYNC2: different improvements to Redis replication. 2016-11-09 15:37:15 +01:00
notify.c
object.c Fixed wrong sizeof(client) in object.c 2016-10-31 15:08:17 +02:00
pqsort.c
pqsort.h
pubsub.c
quicklist.c fix a bug for quicklistDup() function 2016-10-28 19:47:29 +08:00
quicklist.h Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
rand.c
rand.h
rdb.c PSYNC2: Save replication ID/offset on RDB file. 2016-11-10 12:35:29 +01:00
rdb.h PSYNC2: different improvements to Redis replication. 2016-11-09 15:37:15 +01:00
redis-benchmark.c redis-benchmark: new option to show server errors on stdout. 2016-07-12 11:23:31 +02:00
redis-check-aof.c
redis-check-rdb.c redis_check_rdb(): the rio structure must be global. 2016-07-06 19:12:24 +02:00
redis-cli.c redis-cli typo fixed: perferences -> preferences. 2016-11-02 15:15:49 +01:00
redis-trib.rb Refactor redis-trib.rb 2016-10-10 01:13:20 +09:00
redisassert.h
redismodule.h Modules: AbortBlock() API implemented. 2016-10-13 16:57:40 +02:00
release.c
replication.c PSYNC2: bugfixing pre release. 2016-11-23 17:36:45 +01:00
rio.c various cleanups and minor fixes 2016-04-25 16:49:57 +03:00
rio.h Modules: support for modules native data types. 2016-06-03 18:14:04 +02:00
scripting.c Merge pull request #732 from evilpacket/remove_dofile 2016-05-08 18:04:41 +02:00
sds.c sds: don't check for impossible string size in 32 bit systems. 2016-09-01 11:04:22 +02:00
sds.h Lua debugger: use sds_malloc() to allocate eval cli array. 2015-11-17 15:43:23 +01:00
sdsalloc.h
sentinel.c Trim comment to 80 cols. 2016-09-14 16:41:05 +02:00
server.c PSYNC2: bugfixing pre release. 2016-11-23 17:36:45 +01:00
server.h PSYNC2: Save replication ID/offset on RDB file. 2016-11-10 12:35:29 +01:00
setproctitle.c
sha1.c
sha1.h
slowlog.c
slowlog.h
solarisfixes.h
sort.c
sparkline.c
sparkline.h
syncio.c
t_hash.c Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
t_list.c Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
t_set.c Optimize repeated keyname hashing. 2016-09-12 13:19:05 +02:00
t_string.c GETRANGE: return empty string with negative, inverted start/end. 2016-06-15 12:48:58 +02:00
t_zset.c Apply the new dictUnlink() where possible. 2016-09-14 16:37:53 +02:00
testhelp.h
util.c Modules: first preview 31 March 2016. 2016-05-10 06:40:05 +02:00
util.h Fix HINCRBYFLOAT to work with long doubles. 2015-11-04 17:16:34 +01:00
valgrind.sup
version.h
ziplist.c
ziplist.h
zipmap.c
zipmap.h
zmalloc.c zmalloc: Make fp var non local to fix build. 2016-09-19 10:34:39 +02:00
zmalloc.h zmalloc: zmalloc_get_smap_bytes_by_field() modified to work for any PID. 2016-09-19 10:28:42 +02:00