Incorrect physical size reported for the backed up snapshots.

Aperta
#14,684 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
cloud, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Java
Stelle
3.1k
Fork
1.4k
Merge medio
7g 16h
PR unite (30g)
15

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/cloudstack

Tutte le issue di apache/cloudstack

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.