You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make sure the snapshot read TS greater than the TXN logic TS when create snapshot or clone. (#22252)
consider the following example:
(within a session)
...
insert into t1 values (1) ---> commit ts (P2-L3)
insert into t1 values (2) ---> commit ts (P2-L4)
create table t2 clone t1 ---> the read snapshot ts is P2.
limited by the format for the snapshot read TS, the logic TS is truncated,
so in this example, the clone cannot read the newly inserted data.
so we try to increase the txn physical ts here to make sure the snapshot TS
the clone will get is greater than P2.
the same issue exists when create snapshot.
Approved by: @qingxinhome
0 commit comments