4paradigm / 4paradigm/OpenMLDB

Init `deploy_stats` in nameserver

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

説明

`deploy_stats` has not been inited in [InitGlobalVarTable](https://github.com/4paradigm/OpenMLDB/blob/main/src/nameserver/name_server_impl.cc#L10574)

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

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

調査の方向性

The issue points to a missing initialization of `deploy_stats` in the `InitGlobalVarTable` function at line 10574 in src/nameserver/name_server_impl.cc. First, examine the surrounding code to understand the structure of `deploy_stats` and its type. Then, add the appropriate initialization, likely setting it to a default value like zero or an empty state. Verify the change by building the project and running any related tests for the nameserver component.

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

評価

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

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

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