diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-05 12:57:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-05 12:57:25 -0400 |
commit | 7900eb8dccf23c27907d3cffdb501cab5287c4d2 (patch) | |
tree | bac2bc419fbdc8bedafb82d717d6bb5dd01de073 | |
parent | 2ccd9c5e7cf3266d2270741e1535d78350afcee9 (diff) |
devblog
-rw-r--r-- | doc/devblog/day_270__distributed_fsck.mdwn | 2 | ||||
-rw-r--r-- | doc/devblog/day_272__forest_for_trees.mdwn | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/devblog/day_270__distributed_fsck.mdwn b/doc/devblog/day_270__distributed_fsck.mdwn index 76227442d..0e25acb2b 100644 --- a/doc/devblog/day_270__distributed_fsck.mdwn +++ b/doc/devblog/day_270__distributed_fsck.mdwn @@ -23,3 +23,5 @@ there's still commit and tree update overhead. Probably doesn't make sense to run distributed fscks too often for that and other reasons. If the git-annex branch does get too large, there's always `git annex forget` ... + +**(Update: This was later rethought and works much more efficiently now..)** diff --git a/doc/devblog/day_272__forest_for_trees.mdwn b/doc/devblog/day_272__forest_for_trees.mdwn new file mode 100644 index 000000000..cdbde54a3 --- /dev/null +++ b/doc/devblog/day_272__forest_for_trees.mdwn @@ -0,0 +1,13 @@ +Rethought distributed fsck. It's not really a fsck, but an expiration of +inactive repositories, where fscking is one kind of activity. That insight +let me reimplement it much more efficiently. Rather than updating all +the location logs to prove it was active, `git annex fsck` can simply and +inexpensively update an activity log. It's so cheap it'll do it by default. +The `git annex expire` command then reads the activity log and expires +(or unexpires) repositories that have not been active in the desired time +period. Expiring a repository simply marks it as dead. + +Yesterday, finished making --quiet really be quiet. That sounds easy, +but it took several hours. On the `concurrentprogress` branch, I have +ascii-progress hooked up and working, but it's not quite ready for prime +time. |