diff --git a/src/aof.c b/src/aof.c index e30c77f2921a..06c9a47d5e1f 100644 --- a/src/aof.c +++ b/src/aof.c @@ -284,6 +284,8 @@ int loadAppendOnlyFile(char *filename) { /* The fake client should not have a reply */ redisAssert(fakeClient->bufpos == 0 && listLength(fakeClient->reply) == 0); + /* The fake client should never get blocked */ + redisAssert((fakeClient->flags & REDIS_BLOCKED) == 0); /* Clean up. Command code may have changed argv/argc so we use the * argv/argc of the client instead of the local variables. */