From: Jay Freeman (saurik) Date: Sun, 23 Dec 2012 08:06:46 +0000 (+0000) Subject: If a key is already archived, it can be deleted. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/5290f05c34291ab6853ad097893238efb53bfb8e If a key is already archived, it can be deleted. --- diff --git a/src/migrate.c b/src/migrate.c index 3886f62c..23f40e48 100644 --- a/src/migrate.c +++ b/src/migrate.c @@ -311,7 +311,7 @@ int archive(redisDb *db, robj *key) { return 0; if (object->archived != 0) - return 0; + return 1; rio payload; createDumpPayload(&payload, object);