4paradigm / 4paradigm/OpenMLDB

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

Open
#2,199 6 comments 0 reactions 1 assignee Claimed by @dl239 View on GitHub
bug storage-engine
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.