You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: SHOW PROCESSLIST does not list all process #12829
- Version or commit-id (e.g. v0.1.0 or 8b23a93): 1.0-dev, 90dac68d
- Hardware parameters:
- OS type:
- Others:
Actual Behavior
processlist() does not return sessions in certain node that crashed recently:
> select node_id, db, account, command from processlist() as a where node_id="30336330-3532-6132-3361-376262643936";
Empty set (0.02 sec)
# find the node in backend servers:
> show backend servers;
| 30336330-3532-6132-3361-376262643936 | 172.20.174.176:6001 | Working |
# get pod
kg po -n freetier-01 -owide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
default-cn-k4tx7 1/1 Running 366 (4m17s ago) 6d17h 172.20.174.176 cn-hangzhou.10.3.137.105 <none>
# port-forward to the pod and execute query again, there must be at least one session (the current one), but get empty set
> select node_id, db, account, command from processlist() as a where node_id="30336330-3532-6132-3361-376262643936";
Empty set (0.02 sec)
Activity
aylei commentedon Nov 20, 2023
@volgariver6 PTAL
volgariver6 commentedon Nov 22, 2023
fixed