4paradigm / 4paradigm/OpenMLDB
Show components does not show all taskmanager
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**Bug Description**
Now users deploy three taskmanager but only show one taskmanager with command `show components`.
```
10.38.121.16:7527/> show components;
-------------------- ------------- --------------------- -------- ---------
Endpoint Role Connect_time Status Ns_role
-------------------- ------------- --------------------- -------- ---------
10.38.121.16:10921 tablet 2024-01-04 16:43:09 online NULL
10.38.121.17:10921 tablet 2024-01-04 16:43:09 online NULL
10.38.121.18:10921 tablet 2024-01-04 16:43:09 online NULL
10.38.121.16:7527 nameserver 2024-01-04 16:43:10 online master
10.38.121.17:7527 nameserver 2024-01-04 16:44:59 online standby
10.38.121.18:7527 nameserver 2024-01-04 16:45:47 online standby
10.38.121.16:9902 taskmanager 2024-01-04 17:06:21 online NULL
-------------------- ------------- --------------------- -------- ---------
```
**Expected Behavior**
Show all standby taskmanagers in command line.
Guía de contribución
Línea de trabajo
The 'show components' command output is missing two taskmanagers. Look for the SQL command handler in the codebase, likely in a nameserver or CLI component. Find where the component list is assembled and filtered. Check if there's a condition that incorrectly excludes standby taskmanagers. Verify by running the command in a test environment after making changes.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- sql
- Área
- cli, database
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100