4paradigm / 4paradigm/OpenMLDB

Show components does not show all taskmanager

オープン
#3,691 コメント 1 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
duplicate enhancement high-priority task-manager
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
cli, database
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。