Ok, so i actually have:
root@DK:/srv/dev-disk-by-label-HC2/AppData/duplicacy/cache/localhost/all/.duplicacy/cache/storage_name/fossils# ll
total 4
-rw-r----- 1 root root 1905 Dec 3 01:01 4
With my latest nightly prune saying:
2021-12-03 01:01:14.964 INFO FOSSIL_COLLECT Fossil collection 3 found
2021-12-03 01:01:14.964 INFO FOSSIL_DELETABLE Fossils from collection 3 is eligible for deletion
2021-12-03 01:01:14.964 INFO PRUNE_NEWSNAPSHOT Snapshot AppData revision 242 was created after collection 3
2021-12-03 01:01:14.985 INFO PRUNE_NEWSNAPSHOT Snapshot DockerCompose revision 247 was created after collection 3
2021-12-03 01:01:14.987 INFO SNAPSHOT_DELETE Deleting snapshot DockerCompose at revision 238
2021-12-03 01:01:14.988 INFO SNAPSHOT_DELETE Deleting snapshot AppData at revision 233
2021-12-03 01:01:15.213 INFO CHUNK_DELETE The chunk 7dbbf543241afdffad898e2c8764e36cacfd8d6e1d7c9e4f7d36e311028596e3 has been permanently removed
2021-12-03 01:01:15.213 INFO CHUNK_DELETE The chunk 93c9aeddb680044962fd4e07fd3eff8de20897cc43183ac135a73c76bceedf9d has been permanently removed
2021-12-03 01:01:15.247 INFO CHUNK_DELETE The chunk 159c1296ef12f4cd52d2db14118240313a1b1e4365c92111db8daefdb2c51008 has been permanently removed
2021-12-03 01:01:15.247 INFO CHUNK_DELETE The chunk dce4c72e1ab21b055804798f129e477265de73deb6e594a00fd2dc8d43012ca0 has been permanently removed
2021-12-03 01:01:15.268 INFO CHUNK_DELETE The chunk b65c4b32dabf1aa409afba8ebbadf664108cca1921b70faa4e5bf794d1a08537 has been permanently removed
2021-12-03 01:01:15.317 INFO CHUNK_DELETE The chunk 30ef7a5f4c614f8841d0236f3d04af0c7563206b13a9725e1f6de0effcfd6543 has been permanently removed
2021-12-03 01:01:15.320 INFO CHUNK_DELETE The chunk 4dac44e73462fe5dd0b863943091d4df8d8b63a1a403fa706a72b289331493ad has been permanently removed
2021-12-03 01:01:15.326 INFO CHUNK_DELETE The chunk 441f30d7a7dc518f7bd9beba5b9aecda9bc3212d7b86d90d8bfbb350d14e5d89 has been permanently removed
2021-12-03 01:01:15.339 INFO CHUNK_DELETE The chunk 88b88a4a6093979d39ff70563edc25f7d3fbcf3ed5da3c5812c5d27f379a1ea6 has been permanently removed
2021-12-03 01:01:15.384 INFO CHUNK_DELETE The chunk ece05deb3950d19a1008cfce2bea2f9b06a074d88525c5b549841bd36c836b65 has been permanently removed
2021-12-03 01:01:15.647 INFO CHUNK_DELETE The chunk a65abc9b7d0bf388c12e83b97c2b3a4c9b94e48301d4afac78ec01e5daa4a566 has been permanently removed
2021-12-03 01:01:16.495 INFO CHUNK_DELETE The chunk 83faa74f07f65685d7ee679b7f345e4ca63b35b62bf8799f0ca117a30ec0a665 has been permanently removed
2021-12-03 01:01:16.504 INFO CHUNK_DELETE The chunk 373d1fe0c11eecd3249f0f4b346a7e8104eb1122fcb466c2720a4ebf0199af36 has been permanently removed
2021-12-03 01:01:16.505 INFO CHUNK_DELETE The chunk 0ffeed81b08b6568e6dafe2aba87a0b2b044ab6f6ccd43851d1039bca6c6c0f3 has been permanently removed
2021-12-03 01:01:16.508 INFO CHUNK_DELETE The chunk 4ae68a6f456581b399de44252f60b7a69691c7b97dd9698b2eefb08763443a43 has been permanently removed
2021-12-03 01:01:16.553 INFO CHUNK_DELETE The chunk cc7b392057f4c7f14fa40d7a58139d438812a0d0f94df4a8daa62a43dd8a969a has been permanently removed
2021-12-03 01:01:23.584 INFO FOSSIL_COLLECT Fossil collection 4 saved
2021-12-03 01:01:23.689 INFO SNAPSHOT_DELETE The snapshot AppData at revision 233 has been removed
2021-12-03 01:01:23.754 INFO SNAPSHOT_DELETE The snapshot DockerCompose at revision 238 has been removed
Only fossil collection 4 is present. So i would expect the next prune to use a number between 1 and 3, by logic.
You say “The next collection file created may reuse the number 1 again.” so i still don’t get the logic behind.
I’ll see what happens with tonight prune.
Prune performed, now I have:
root@DK:/srv/dev-disk-by-label-HC2/AppData/duplicacy/cache/localhost/all/.duplicacy/cache/storage_name/fossils# ll
total 4
-rw-r----- 1 root root 2142 Dec 4 01:01 5
From the prune log:
2021-12-04 01:01:43.538 INFO FOSSIL_COLLECT Fossil collection 4 found
2021-12-04 01:01:43.538 INFO FOSSIL_DELETABLE Fossils from collection 4 is eligible for deletion
2021-12-04 01:01:43.538 INFO PRUNE_NEWSNAPSHOT Snapshot AppData revision 243 was created after collection 4
2021-12-04 01:01:43.596 INFO PRUNE_NEWSNAPSHOT Snapshot DockerCompose revision 248 was created after collection 4
[...]
2021-12-04 01:01:51.037 INFO FOSSIL_COLLECT Fossil collection 5 saved
2021-12-04 01:01:51.106 INFO SNAPSHOT_DELETE The snapshot DockerCompose at revision 239 has been removed
2021-12-04 01:01:51.168 INFO SNAPSHOT_DELETE The snapshot AppData at revision 234 has been removed
So why it went to 5 if 4 was locally deleted?