4paradigm / 4paradigm/OpenMLDB

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

Abierto
#2,199 6 comentarios 0 reacciones 1 asignado Reclamado por @dl239 Ver en GitHub
bug storage-engine
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

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

Evaluación

Área
databases
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.