Skip to content

Commit

Permalink
Remove debug logs that shouldn't have been checked in
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed Jun 1, 2020
1 parent 130613e commit 31f5831
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/rdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2416,7 +2416,6 @@ int rdbLoadRio(rio *rdb, int rdbflags, rdbSaveInfo *rsi) {
rsi->mi->staleKeyMap->operator[](db - g_pserver->db).push_back(objKeyDup);
decrRefCount(objKeyDup);
}
serverLog(LL_WARNING, "Loaded expired key");
fLastKeyExpired = true;
sdsfree(key);
key = nullptr;
Expand All @@ -2425,7 +2424,6 @@ int rdbLoadRio(rio *rdb, int rdbflags, rdbSaveInfo *rsi) {
} else {
/* Add the new object in the hash table */
int fInserted = dbMerge(db, &keyobj, val, (rsi && rsi->fForceSetKey) || (rdbflags & RDBFLAGS_ALLOW_DUP)); // Note: dbMerge will incrRef
serverLog(LL_WARNING, "Loaded: %s", key);
fLastKeyExpired = false;

if (fInserted)
Expand Down

0 comments on commit 31f5831

Please sign in to comment.