This repository was archived by the owner on Sep 27, 2019. It is now read-only.
This repository was archived by the owner on Sep 27, 2019. It is now read-only.
Assertion fail when insert and delete in the same transaction #1336
Closed
Description
create table foo(id integer);
begin;
insert into foo values(5);
delete from foo where id = 5;
The assertion failed at line 618 in src/concurrency/timestamp_ordering_transaction_manager.cpp
. It seems that if the txn owns the tuple, it will not update the tuple's last reader id. So the commitId is 0 during the assertion.