Incorrect physical size reported for the backed up snapshots.

Aberta
#14,684 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
java
Domínio
cloud, databases

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Java
Estrelas
3.1k
Forks
1.4k
Merge médio
7d 16h
PRs com merge (30d)
15

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de apache/cloudstack

Todas as issues de apache/cloudstack

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.