News for hackers. Stuff that matters.
Re:Too Perfect a Mirror by marcosdumay on Sunday March 24, 2013 @10:25AM (#5432108)
> Snapshots are stupid in the case of a content addressable, immutable data store.

Well, the KDE incident proves otherwise.

Re:Too Perfect a Mirror by mpyne on Sunday March 24, 2013 @10:53AM (#5432206)
Well, not necessarily. The issue is that filesystem corruption lead to undetected Git repository corruption, which is what made it possible to push corrupted repos to the mirrors.

It would have been just as easy to push those corrupted repos to all of the backup tapes in the rotating snapshot set. A snapshotting filesystem could be a good backup (and seems to be what one of the sysadmins is pushing for).

But even more important is to fail fast and identify git repo corruption as soon as it can be detected so that further damage can be avoided.

Re:Too Perfect a Mirror by rciorba on Sunday March 24, 2013 @12:28PM (#5432509)
Git is not an immutable data store. The refs are very mutable and change-sets get garbage collected.
Re:Too Perfect a Mirror by mpyne on Sunday March 24, 2013 @03:52PM (#5433297)
The KDE sysadmins are well aware of that, at least. Mutable operations that would leave dangling blobs cause a backup copy of the appropriate ref to be generated before the force-push/branch-deletion/etc. are run so that there's nothing for git to garbage collect.
Re:Too Perfect a Mirror by richo on Sunday March 24, 2013 @10:46AM (#5432186)
Yeah, if you're incapable of accepting that complicated scenario is complicated.

The next two paragraphs identified two things that they weren't doing that they should have been. Otherwise they'd just have lots of snapshots of bad data.