4 ms·Isnt there a race condition ? you get the sequence before acquiring a lock.by CplNobbs 8y agoIsnt there a race condition ? you get the sequence before acquiring a lock.kdmytro 8y agoI don't think so. The lock there just ensures that no pending transactions are going to write new rows with smaller sequence number.CplNobbs 8y agogot it - my bad