On 1/8/12 9:21 AM, Selcuk AYA wrote:
the checks are necessary so that the read only txn can be sure that
txns after its start time are not flushed to partitions. This is
explained in greater detail in the comments right above the code.
I added dummytxn later on so some of the null checks became
the checks are necessary so that the read only txn can be sure that
txns after its start time are not flushed to partitions. This is
explained in greater detail in the comments right above the code.
I added dummytxn later on so some of the null checks became
unnecessary but that is not a big deal.
hi,
as i'm reviewing the txn code, I have a question regarding the
TxnManager.beginReadonlyTransaction() method (this method is called when
one do a beginTransaction(true)).
The code contains a do..while loop :
ReadWriteTxn lastTxnToCheck = null;
do
{
if