Disable MVCC GET, the overhead is not worth it
Former-commit-id: 8c7e1001e98be0d0e6fe0079fc9406d5d65366ff
This commit is contained in:
parent
4ec5c3eb31
commit
1fef6c42b7
@ -4096,11 +4096,13 @@ int processCommand(client *c, int callFlags, AeLocker &locker) {
|
|||||||
queueMultiCommand(c);
|
queueMultiCommand(c);
|
||||||
addReply(c,shared.queued);
|
addReply(c,shared.queued);
|
||||||
} else {
|
} else {
|
||||||
|
#if 0
|
||||||
if (cserver.cthreads >= 2 && !g_fTestMode && g_pserver->m_pstorageFactory == nullptr && listLength(g_pserver->monitors) == 0 && c->cmd->proc == getCommand)
|
if (cserver.cthreads >= 2 && !g_fTestMode && g_pserver->m_pstorageFactory == nullptr && listLength(g_pserver->monitors) == 0 && c->cmd->proc == getCommand)
|
||||||
{
|
{
|
||||||
if (getCommandAsync(c))
|
if (getCommandAsync(c))
|
||||||
return C_OK;
|
return C_OK;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
locker.arm(c);
|
locker.arm(c);
|
||||||
incrementMvccTstamp();
|
incrementMvccTstamp();
|
||||||
call(c,callFlags);
|
call(c,callFlags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user