sidnt / lmdz

0 stars 0 forks source link

does a txn read the value it just wrote? #61

Open sidnt opened 4 years ago

sidnt commented 4 years ago

a transaction provides a consistent view of the data. now if there's an RW transaction, which has acquired a handle and is currently operating, if it changes a key, and reads it back, later, within the same transaction, before commiting or aborting, will it read the old value or the value it just wrote?