[
https://issues.apache.org/jira/browse/IGNITE-20107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-20107:
---------------------------------------
Description:
baseTs is used when validating a schema (schema at commitTs or at operationTs
is validated to match/be compatible to the schema at baseTs).
The easiest way to calculate baseTs is to do baseTs=beginTs(tx). But to make a
created table immediately available for already running transactions (as per
[https://cwiki.apache.org/confluence/display/IGNITE/IEP-110%3A+Schema+synchronization%3A+basic+schema+changes#IEP110:Schemasynchronization:basicschemachanges-Basicrequirements]
), we can take baseTs=Max(beginTs(tx), creationTs(table)).
was:
baseTs is used when validating a schema (schema at commitTs or at operationTs
is validated to match/be compatible to the schema at baseTs).
The easiest way to calculate baseTs is to do baseTs=beginTs(tx). But to make a
created table immediately available for already running transactions (as per
https://cwiki.apache.org/confluence/display/IGNITE/IEP-110%3A+Schema+synchronization%3A+basic+schema+changes#IEP110:Schemasynchronization:basicschemachanges-Basicrequirements
), we can take baseTs=Max(beginTs(tx), creationTs(table)).
This is a temporal solution that will be superseded by IGNITE-20108, but it
seems to make sense to implement it as it is easy to implement (and makes
created tables visible to already running transactions), while IGNITE-20108
requires substantial work.
> Make table created after tx started visible to the tx
> -----------------------------------------------------
>
> Key: IGNITE-20107
> URL: https://issues.apache.org/jira/browse/IGNITE-20107
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: iep-110, ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> baseTs is used when validating a schema (schema at commitTs or at operationTs
> is validated to match/be compatible to the schema at baseTs).
> The easiest way to calculate baseTs is to do baseTs=beginTs(tx). But to make
> a created table immediately available for already running transactions (as
> per
> [https://cwiki.apache.org/confluence/display/IGNITE/IEP-110%3A+Schema+synchronization%3A+basic+schema+changes#IEP110:Schemasynchronization:basicschemachanges-Basicrequirements]
> ), we can take baseTs=Max(beginTs(tx), creationTs(table)).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)