pikiwidb icon indicating copy to clipboard operation
pikiwidb copied to clipboard

bug: hscan arg should be inited in DoInit

Open AlexStocks opened this issue 1 year ago • 4 comments

Is this a regression?

Yes

Description

image

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

images

Please provide the version you discovered this bug in (check about page for version information)

No response

Anything else?

No response

AlexStocks avatar Jan 27 '24 11:01 AlexStocks

感谢反馈,我们这边看一下

KernelMaker avatar Sep 14 '17 03:09 KernelMaker

in PikaDispatchThread::Handles::AccessHandle() if (ip == "127.0.0.1") { ip = g_pika_server->host(); }

有什么特殊用意么...

fancy-rabbit avatar Aug 17 '18 19:08 fancy-rabbit

这里应该是对应于下面的ip != g_pika_server->host()那个判断, 如果连接量数量已经达到了maxclients上线,还是允许本机上的几个客户端连接上pika进行一些操作,也就是对应于root_connection,不过好像没必要直接把ip的值给变了, 直接在下面做判断就可以了

Axlgrep avatar Aug 20 '18 03:08 Axlgrep

长久无人关注,现 close 掉该 issue。

AlexStocks avatar Mar 11 '23 17:03 AlexStocks