Merge concurrency issues with other deleting data operations
- Lenguaje dominante
- Java
- Estrellas
- 6.4k
- Forks
- 1.2k
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 115
Descripción
After discussion with @zhanglingzhe0820 , there are three possible concurrency problems related to merge
1. For cluster version, after the follower pulls the snapshot file, it will delete the local overlaped file.
2. The checkttl operation will also delete the expired data.
3. The user initiatively initiates the data deletion operation.
Because the merge operation is to select some files to merge, the above operation may also occur when merging, so the merged files may have been deleted, and NPE will appear.
We need to comprehensively consider the concurrency problem to solve all the above problems.
Guía de contribución
Línea de trabajo
El issue no menciona archivos, pruebas ni puntos de entrada. Empieza rastreando la operación de merge y las tres rutas de eliminación concurrente —limpieza de snapshots, checkttl y eliminación iniciada por el usuario— y define como terminado evitar la NPE reportada cuando se eliminan archivos de merge seleccionados de forma concurrente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- databases, distributed-systems
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100