DatuX

Results 202 comments of DatuX

fixed this, will now keep current version if there's a http error code of 400 or higher.

For my project (zfs_autobackup) i started experimenting with a progressive thinning algorithm. (https://github.com/psy0rz/zfs_autobackup/blob/bf985998b38a23d3dd6263f89d177b2310493c54/zfs_autobackup#L832) Instead of unit tests I opted to test it using "fuzzy" timestamps at random intevals, to prevent...

Ok i completed the thinning-classes among with some test-code. Maybe someone can use it: https://github.com/psy0rz/zfs_autobackup/blob/34d0c5d67bd483239ad625265226327b1d7a417c/zfs_autobackup#L82 (its a permalink, also check the latest version, in the future. :)

Yeah, but you look at the age of a bucket. And a bucket should always be at the same point in time, using the method i described. I wrote quite...

Link to the latest version: https://github.com/psy0rz/zfs_autobackup/blob/master/zfs_autobackup/Thinner.py

i forgot to mention this: https://github.com/psy0rz/zfs_autobackup/wiki/Thinner#technical-details-about-the-thinner Maybe that clears it up? Those are indeed the tests, but i hand verified those results.

The age is offcourse relative, but the buckets have an absolute timeframe.

Sorry, i didnt have time so its not complete yet.

Yeah, i have one petsafe catflap thats broken, that i can use to figure out how it works. But i have no time for extra projects currently :)