[ 
https://issues.apache.org/jira/browse/IGNITE-20125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirill Tkalenko updated IGNITE-20125:
-------------------------------------
    Description: 
*{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.


  was:
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.



> 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)

Reply via email to