4paradigm / 4paradigm/OpenMLDB
Init `deploy_stats` in nameserver
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
`deploy_stats` has not been inited in [InitGlobalVarTable](https://github.com/4paradigm/OpenMLDB/blob/main/src/nameserver/name_server_impl.cc#L10574)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 50/100