You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Kirill Tkalenko (Jira)" <ji...@apache.org> on 2024/02/06 17:16:00 UTC

[jira] [Commented] (IGNITE-20125) Write to writable indices when writing to partition

    [ https://issues.apache.org/jira/browse/IGNITE-20125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17814900#comment-17814900 ] 

Kirill Tkalenko commented on IGNITE-20125:
------------------------------------------

After analyzing all the documents and iep, it was decided that at the moment we will update all indexes that will be writable for each read-write transaction operation at the beginning timestamp of transaction.

> Write to writable indices when writing to partition
> ---------------------------------------------------
>
>                 Key: IGNITE-20125
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20125
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Assignee: Kirill Tkalenko
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-beta2
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> *{color:#DE350B}See comments{color}*
> For each operation that is writing, the operation’s timestamp (which is NOT the same as the operation’s command’s SafeTime timestamp) T~op~ is used to get the schema corresponding to the operation. When it’s obtained, all writable indices at T~op~ are taken, and the current operation writes to them all.
> An index is writable for an RW transaction started at T~begin~ if the index exists in a writable state (REGISTERED, BACKFILLING, AVAILABLE, STOPPING) in the schema corresponding to T~begin~, but writability is lost once the index transitions to the READ_ONLY state (in the CURRENT schema).
> If an index does not exist anymore at T~op~, the write to it is just ignored, the transaction is not aborted.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)