Disable MVCC GET, the overhead is not worth it

Former-commit-id: 8c7e1001e98be0d0e6fe0079fc9406d5d65366ff
This commit is contained in:
John Sully 2020-07-10 01:43:32 +00:00
parent 4ec5c3eb31
commit 1fef6c42b7

View File

@ -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);