Correct spelling error at t_hash.c comment (#13540)

spell check error : ./src/t_hash.c:1141: RESOTRE ==> RESTORE
This commit is contained in:
Moti Cohen 2024-09-12 12:50:44 +03:00 committed by GitHub
parent 9a89e32a95
commit 65a87cb773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ int hashTypeSetExInit(robj *key, robj *o, client *c, redisDb *db, const char *cm
listpackEx *lpt = o->ptr;
/* If the hash previously had HFEs but later no longer does, the key ref
* (lpt->key) in the hash might become outdated after a MOVE/COPY/RENAME/RESOTRE
* (lpt->key) in the hash might become outdated after a MOVE/COPY/RENAME/RESTORE
* operation. These commands maintain the key ref only if HFEs are present.
* That is, we can only be sure that key ref is valid as long as it is not
* "trash". (TODO: dbFind() can be avoided. Instead need to extend the