Incorrect physical size reported for the backed up snapshots.

Offen
#14,684 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
java
Bereich
cloud, databases

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
7 T. 16 Std.
Gemergte PRs (30 T.)
15

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus apache/cloudstack

Alle Issues in apache/cloudstack

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.