4paradigm / 4paradigm/OpenMLDB
Init `deploy_stats` in nameserver
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
`deploy_stats` has not been inited in [InitGlobalVarTable](https://github.com/4paradigm/OpenMLDB/blob/main/src/nameserver/name_server_impl.cc#L10574)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 50/100