4paradigm / 4paradigm/OpenMLDB

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

Ouverte
#2,199 6 commentaires 0 réactions 1 personne assignée Réclamée par @dl239 Voir sur GitHub
bug storage-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
databases
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.