[OpenAFS-devel] Ubik transactions and locks?

Tommie Gannert d00-tga@d.kth.se
Sat, 02 Dec 2006 20:07:45 +0100


Hi!

What is the difference between Ubik's transactions
and locks?

The source says that only one Write transaction can be active at
any one time, but also that "this has nothing to do with
transaction locking".

There are three transaction modes (read, read-any and write)
and two lock modes (read and write)... So far so good, but
what does a write-lock do that a Begin(write) doesn't? Does it just
lock any readers out? Could any readers active during a Commit read
inconsistent data?

Thanks,
Tommie