diff options
author | antirez <antirez@gmail.com> | 2013-06-24 18:57:31 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-06-24 18:57:31 +0200 |
commit | f0bf5fd8c779d70a853de7b5eb165c6b3d863f69 (patch) | |
tree | 1edd866ce230acfc050aab6ed627774e298cc176 /src/aof.c | |
parent | 94ec7db47067ce8644e800b669ced032095747f3 (diff) | |
download | redis-f0bf5fd8c779d70a853de7b5eb165c6b3d863f69.tar.gz |
Use the RSC to replicate EVALSHA unmodified.
This commit uses the Replication Script Cache in order to avoid
translating EVALSHA into EVAL whenever possible for both the AOF and
slaves.
Diffstat (limited to 'src/aof.c')
-rw-r--r-- | src/aof.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -998,6 +998,7 @@ int rewriteAppendOnlyFileBackground(void) { * accumulated by the parent into server.aof_rewrite_buf will start * with a SELECT statement and it will be safe to merge. */ server.aof_selected_db = -1; + replicationScriptCacheFlush(); return REDIS_OK; } return REDIS_OK; /* unreached */ |