Kirill Tkalenko created IGNITE-21017:
----------------------------------------

             Summary: Tracking RW transaction update operations
                 Key: IGNITE-21017
                 URL: https://issues.apache.org/jira/browse/IGNITE-21017
             Project: Ignite
          Issue Type: Improvement
            Reporter: Kirill Tkalenko
             Fix For: 3.0.0-beta2


When creating a secondary index, there may be a situation where we do not build 
an index for all records in the table.

This can happen when update operations of the RW transaction are performed at 
the moment the index buildings begins.

The transaction has not yet seen the new index and therefore will not make 
updates to it. And the index builder simply skipped them. Thus, we will not 
have a consistent index.

To avoid this, we need to start building a secondary index of a specific 
partition only when all update operations of RW transactions have completed 
their operations strictly after the activation time of the index creation event.

In this task, we will add tracking of update operations for RW transactions for 
partition.



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

Reply via email to