Commits

antirez  committed 03fb031 Merge

Redis 2.2.111-scripting

  • Participants
  • Parent commits 9920bc9, a2d68e6
  • Branches 2.2-scripting
  • Tags 2.2.111-scripting

Comments (0)

Files changed (4)

File 00-RELEASENOTES

 CHANGELOG
 ---------
 
+What's new in Redis 2.2.11
+==========================
+
+* Solved a never reported but possibly critical bug in the AOF and RDB
+persistence, introduced with the new version of the iterator: In very rare
+circumstances the AOF (after rerwite) or the rdb file may contain the same
+key more than one time.
+
 What's new in Redis 2.2.10
 ==========================
 
         redisDb *db = server.db+j;
         dict *d = db->dict;
         if (dictSize(d) == 0) continue;
-        di = dictGetIterator(d);
+        di = dictGetSafeIterator(d);
         if (!di) {
             fclose(fp);
             return REDIS_ERR;
         redisDb *db = server.db+j;
         dict *d = db->dict;
         if (dictSize(d) == 0) continue;
-        di = dictGetIterator(d);
+        di = dictGetSafeIterator(d);
         if (!di) {
             fclose(fp);
             return REDIS_ERR;

File src/version.h

-#define REDIS_VERSION "2.2.110"
+#define REDIS_VERSION "2.2.111"