We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673b847 commit ee37467Copy full SHA for ee37467
1 file changed
src/pika_client_conn.cc
@@ -305,6 +305,13 @@ void PikaClientConn::ProcessRedisCmds(const std::vector<net::RedisCmdArgsType>&
305
bool is_slow_cmd = g_pika_conf->is_slow_cmd(opt);
306
bool is_admin_cmd = g_pika_conf->is_admin_cmd(opt);
307
308
+
309
+ // Special handling for auth command in pipeline
310
+ if (is_admin_cmd && opt == kCmdNameAuth && argvs.size() > 1) {
311
+ // This is a pipeline with auth as first command
312
+ // Force it to use client processor pool
313
+ is_admin_cmd = false;
314
+ }
315
// we don't intercept pipeline batch (argvs.size() > 1)
316
if (g_pika_conf->rtc_cache_read_enabled() && argvs.size() == 1 && IsInterceptedByRTC(opt) &&
317
PIKA_CACHE_NONE != g_pika_conf->cache_mode() && !IsInTxn()) {
0 commit comments