Incorrect physical size reported for the backed up snapshots.

Abierto
#14,684 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
cloud, databases

Línea de trabajo

Start by tracing how snapshot_store_ref entries are updated when a snapshot is backed up from NFS primary storage to Image store, then inspect how reported physical size is selected. Check whether storage garbage handles the stale Primary store entries, using the reproduction steps to compare the reported size with the snapshot store references. Done when the Image store size is reported and stale Primary entries are removed or marked Destroyed for cleanup.

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

Descripción

bug
problem

Incorrect physical size reported for the backed up snapshots.

  • Stale entries exists with Primary store role for backed up snapshots and physical size reported from it instead of Image store.
  • Also, need to re-check if storage garbage needs to pick up these Primary store entries for cleanup for backed up snapshots to Image store.

(Ref: https://github.com/apache/cloudstack/pull/12481#discussion_r2712002670 , Problem 1 mentioned here - https://github.com/apache/cloudstack/issues/4018)

versions

ACS 4.20.3 + KVM + NFS Primary

The steps to reproduce the bug
  1. Create snapshots for a volume on NFS primary storage
  2. Check the snapshot size reported after backed up
  3. Check the snapshot_store_ref entires for the snapshots
What to do about it?

The Primary storage entries in the snapshot_store_ref has to be removed or marked as Destroyed (storage garbage should cleanup) after snapshots are backed up to Image store, and Report correct snapshot physical size.

Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
7 d 16 h
PR fusionados (30 d)
15

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de apache/cloudstack

Todos los issues de apache/cloudstack

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.