Re: Help Fixing Bug in Durable Reference Creation Inside DoSync Transaction

2010-10-03 Thread Alyssa Kwan
I've come up with a solution to the durable ref creation/declaration in dosync block bug. The creation/declaration exclusively locks the logical dref by key to force other transactions to retry. I welcome feedback and code review from anyone interested in out-of-the-box durability of STM

Help Fixing Bug in Durable Reference Creation Inside DoSync Transaction

2010-10-02 Thread Alyssa Kwan
I've noticed a bug in my implementation of the durable ref, or dref construct. This is an attempt to add durability to the STM. drefs have all of the ACI guarantees of refs, with the additional property of being durable, so changes to the state of the identity are durable. The API is that there