mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
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.
This commit is contained in:
@ -565,10 +565,10 @@ dictType keylistDictType = {
|
||||
* Keys are sds SHA1 strings, while values are not used at all in the current
|
||||
* implementation. */
|
||||
dictType replScriptCacheDictType = {
|
||||
dictSdsHash, /* hash function */
|
||||
dictSdsCaseHash, /* hash function */
|
||||
NULL, /* key dup */
|
||||
NULL, /* val dup */
|
||||
dictSdsKeyCompare, /* key compare */
|
||||
dictSdsKeyCaseCompare, /* key compare */
|
||||
dictSdsDestructor, /* key destructor */
|
||||
NULL /* val destructor */
|
||||
};
|
||||
|
Reference in New Issue
Block a user