Cleaning trash will delete all snapshots

Hey,

I found out that cleaning the trash will delete all snapshots of a library…

Is this an intended behaviour?
Hope somebody can help me, many thanks in advance!

Regards,
Wonderwhy

I tested the Pro version and it seems to have the same problem…

At least, I experience the same behavior using 7.0.8 PE. But I don’t know if it’s intended.

Nothing new so far, can someone from the seafile team confirm this and if it is a bug or intended?

Thank you in advance!

I updated to 7.0.10 PE and the problem still exists.

Can someone from the seafile team confirm this and if it is a bug or intended?

Thank you in advance!

Hi Wonderwhy,
I am not part of the Seafile team, but I feel confident to answer your question.
The observed behavior is the intended behavior which, in turn, is the result of Seafile’s data model. Seafile works in a very similar fashion to Git. A git commit contains pointers to files and folders (referred to as blobs and trees in git lingo). Trash items are just items in a particular folder. In order to get rid of these file, you must delete the commits that contain pointers to these files. Hence the history disappears.

1 Like