On Mon, 14 Feb 2011 17:23:58 -0500
Jeffrey Hutzelman <[email protected]> wrote:
> > struct ubik_nversion {
> > afs_int64 epoch;
> > afs_int64 counter;
> > };
> >
> > struct ubik_ntid {
> > afs_int64 epoch;
> > afs_int64 counter;
> > };
>
> 64-bit epochs are necessary.
> 64-bit counters seem excessive.
We don't "need" them, but the extra 4 bytes don't seem like a big
problem. We know 32-bit counters do rollover at some sites. Although
that shouldn't be a problem (once that one related bug was fixed in
OpenAFS), an epoch/counter combination should ideally represent a unique
version of the database or a unique transaction, shouldn't it?
--
Andrew Deason
[email protected]
_______________________________________________
AFS3-standardization mailing list
[email protected]
http://lists.openafs.org/mailman/listinfo/afs3-standardization