mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Writable slaves expires: fix leak in key tracking.
We need to use a dictionary type that frees the key, since we copy the keys in the dictionary we use to track expires created in the slave side.
This commit is contained in:
@ -1742,6 +1742,11 @@ void evictionPoolAlloc(void);
|
||||
unsigned long LFUGetTimeInMinutes(void);
|
||||
uint8_t LFULogIncr(uint8_t value);
|
||||
|
||||
/* Keys hashing / comparison functions for dict.c hash tables. */
|
||||
unsigned int dictSdsHash(const void *key);
|
||||
int dictSdsKeyCompare(void *privdata, const void *key1, const void *key2);
|
||||
void dictSdsDestructor(void *privdata, void *val);
|
||||
|
||||
/* Git SHA1 */
|
||||
char *redisGitSHA1(void);
|
||||
char *redisGitDirty(void);
|
||||
|
Reference in New Issue
Block a user