From 1fef6c42b77d85271159c7909ac685e7e052c7da Mon Sep 17 00:00:00 2001 From: John Sully Date: Fri, 10 Jul 2020 01:43:32 +0000 Subject: [PATCH] Disable MVCC GET, the overhead is not worth it Former-commit-id: 8c7e1001e98be0d0e6fe0079fc9406d5d65366ff --- src/server.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server.cpp b/src/server.cpp index 539295de1..4a1b1ff72 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4096,11 +4096,13 @@ int processCommand(client *c, int callFlags, AeLocker &locker) { queueMultiCommand(c); addReply(c,shared.queued); } else { +#if 0 if (cserver.cthreads >= 2 && !g_fTestMode && g_pserver->m_pstorageFactory == nullptr && listLength(g_pserver->monitors) == 0 && c->cmd->proc == getCommand) { if (getCommandAsync(c)) return C_OK; } +#endif locker.arm(c); incrementMvccTstamp(); call(c,callFlags);