## Lesson — Registry metadata should be updated only after pruning

**Tags:** consistency, indexing

Registry metadata should be updated only after pruning is finished to ensure that reported chunk counts reflect the final state of the store.
