plakar icon indicating copy to clipboard operation
plakar copied to clipboard

Bug: sync results in missing snapshots

Open qjcg opened this issue 4 months ago • 1 comments

Describe the bug A sync between two repos does not result in identical repo contents as expected.

To Reproduce Steps to reproduce the behavior:

  1. Start from two repos, r1 and r2, each containing the same snapshots.
  2. Remove one snapshot from r2 (e.g. plakar at /path/to/r2 rm -latest).
  3. Run plakar at /path/to/r1 sync to /path/to/r2
  4. Run plakar at /path/to/r1 ls and plakar at /path/to/r2 ls and notice that r2 STILL has one less snapshot than r1, even after the sync in step 3.

Expected behavior The repos r1 and r2 above contain the same snapshots after the sync in step 3 above.

Desktop (please complete the following information):

  • OS, OS Version and architecture: ArchLinux amd64
  • Plakar Version v1.0.2

qjcg avatar Aug 16 '25 04:08 qjcg