g2p / bedup

Btrfs deduplication
http://pypi.python.org/pypi/bedup
GNU General Public License v2.0
324 stars 50 forks source link

Immutable files left on exception #57

Open mgorny opened 9 years ago

mgorny commented 9 years ago

When bedup fails during the process due to exception (maximum recursion depth exceeded / #29) in this case, it leaves files immutable on the fs:

$ lsattr -R |& grep -- --i--
----i----------- ./var/lib/postgresql/9.4/data/global/pg_control
----i----------- ./var/lib/postgresql/9.4/data/global/11882
----i----------- ./var/lib/postgresql/9.4/data/global/12020
----i----------- ./var/lib/postgresql/9.4/data/global/12021
----i----------- ./var/lib/postgresql/9.4/data/global/12022
----i----------- ./var/lib/postgresql/9.4/data/global/12026
[...]

This is quite undesired since it causes most of the applications to fail to work with them, and requires manual cleanup.

sulaweyo commented 9 years ago

I can verify that one as well. Caused by #29 in my case.