4paradigm / 4paradigm/OpenMLDB

Init `deploy_stats` in nameserver

Đang mở
#1,753 1 bình luận 0 reaction 1 người được giao Được @aceforeverd nhận Xem trên GitHub
storage-engine
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
backend, databases
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.