Consider a relaxation of two-phase locks in which read-only transactions can release
read locks early. Would a read-only transaction have consistent retrievals? Would the
objects become inconsistent? Illustrate your answer with the following transactions T
and U at the server in Exercise 16.8:
T: x = read (i); y= read(j);
U: write(i, 55); write(j, 66);
in which initial values of ai and aj are 10 and 20.