about the replica bug

> There is an errata page on the wiki, however 
> I doubt there is anyone looking at this and fixing
> the bugs.
> 
> The bottom line is if you discover a bug, and it anoys you,
> fix it (you have the source). If you are feeling friendly
> submit a patch.

in order to pull the history from the old 32-bit fileserver at
Coraid to the new 64-bit diskless one, i fixed the problem
with replica mentioned on the errata page.  there are also
a few bonus go-fast tricks, including copying only the tail
of append-only files.  the old fs was quite slow.  the source
code is in /n/sources/contrib/quanstro/src/replica and the
note how how i migrated history is here
http://www.quanstro.net/plan9/history.pdf

in addition to cphist, i modified applylog and friends to
deal with directories changing to files and a few other
wierd corner cases that a 5-year-old fs with many users
grows.

the go-fast tricks (which were necessary — the migration
still took two weeks) are the reason cphist is not in the
distribution.

- erik


Reply via email to