[
https://issues.apache.org/jira/browse/IGNITE-21098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798498#comment-17798498
]
Roman Puchkovskiy commented on IGNITE-21098:
--------------------------------------------
Thanks!
> Increase additional wait after DDL by MaxClockSkew
> --------------------------------------------------
>
> Key: IGNITE-21098
> URL: https://issues.apache.org/jira/browse/IGNITE-21098
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When executing an RO transaction, readTimestamp has to be determined. If
> MaxObservableTimestamp is not available (which is currently true after a
> DDL), then TxManagerImpl takes readTimestamp as HLC.now() -
> idleSafeTimePropagationPeriod - MaxClockSkew.
> In IGNITE-20668, an additional wait after a DDL operation was added to make
> sure that a readTimestamp calculated in this way does not look before the DDL
> (otherwise, the RO would see the previous schema). But in IGNITE-20668, only
> idleSafeTimePropagationPeriod was added after a DDL, and MaxClockSkew
> component was forgotten.
> We must add MaxClockSkew to the wait.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)