4paradigm / 4paradigm/OpenMLDB

Init `deploy_stats` in nameserver

Abierto
#1,753 1 comentario 0 reacciones 1 asignado Reclamado por @aceforeverd Ver en GitHub
storage-engine
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
backend, databases
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.