Suppose that transaction Ti issues write(Q). According to timestamp Ordering protocol:
If TS(Ti)<R-timestamp(Q) then Ti will rollback.
My doubt is if TS(Ti) < R-timestamp(Q),it means write operation is occurring before the read operation and hence the transaction is reading the correct value of Q.Then why is it rolling back? Please correct me where am I going wrong.