joyieldInc / predixy

A high performance and fully featured proxy for redis, support redis sentinel and redis cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird character from func peer() based on log & code

daemon144key opened this issue · comments

Hello, we found this log around the time before predixy suddenly restart (but very rarely happen).

image

if we check in

} else if (!c->good()) {

} else if (!c->good()) {
        logWarn("h %d ignore req %ld res %ld for c %s %d with status %d %s",
                id(), req->id(), res->id(),
                c->peer(), c->fd(), c->status(), c->statusStr());
        return;
    }

it comes from c->peer() return weird character as in screenshot above.
can someone explain what happen here or ever get the same case ?

cmiiw also if I miss anything here,, thank you