Re: A Q about the TxnManager.beginReadonlyTransaction() method

2012-01-08 Thread Emmanuel Lécharny
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

Re: A Q about the TxnManager.beginReadonlyTransaction() method

2012-01-08 Thread Selcuk AYA
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.

A Q about the TxnManager.beginReadonlyTransaction() method

2012-01-07 Thread Emmanuel Lecharny
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