4paradigm / 4paradigm/OpenMLDB

The single node ns and tablet are stopped and then started, and the data cannot be recovered

Đang mở
#2,199 6 bình luận 0 reaction 1 người được giao Được @dl239 nhận Xem trên GitHub
bug 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ả

**Bug Description**
The single node ns and tablet are stopped and then started, and the data cannot be recovered

**Expected Behavior**
Data can be recovered

**Steps to Reproduce**

1. tablet stop
2. ns stop
3. ns start
4. tablet start
5. showopstatus
6. showtable

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

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

Hướng nghiên cứu

The issue describes a data recovery failure after restarting ns (nameserver) and tablet components in a single-node setup. Start by examining the startup and recovery logic in the nameserver and tablet code, likely in src/nameserver and src/tablet directories. Look for logs or tests related to 'showopstatus' and 'showtable' commands to understand the expected state. Reproduce the steps locally to see the failure, then trace through the recovery flow to identify where data persistence or replication is broken.

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

Đánh giá

Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.