Description
(copied from my last comment on PHOENIX-5090)
Steps to reproduce (with Omid):
- !autocommit off
- create table test (pk1 integer not null, pk2 integer not null, pk3 integer not null, v1 float, v2 float, v3 integer CONSTRAINT pk PRIMARY KEY (pk1, pk2, pk3)) DISABLE_WAL=true, TRANSACTIONAL=true;
- upsert into test values(rand()*10000000, rand()*10000000, rand()*10000000, rand(), rand(), rand()*1000000);
- upsert into test select rand()*10000000, rand()*10000000, rand()*10000000, rand(), rand(), rand()*1000000 from test;
- select count(*) from test; – this will cause uncommitted data to sent to the server.
- Goto #4 a few time (until you inserted 131072 rows)
- !commit
In a separate sqlline session just repeat after the commit was issued in the other session.
- select count(*) from test;
You'll see that number will change until it finally settles.
Attachments
Attachments
Issue Links
- depends upon
-
PHOENIX-5225 Update Omid to 1.0.1
- Closed
- is related to
-
OMID-144 Read from commit table doesnt remove checkpoint bits
- Closed
-
PHOENIX-5090 Allow transactional writes without buffering the entire transaction on the client.
- Closed