Details
Description
Currently, we do not have any state associated with the index tree. Consider the following scenario:
1) Start node, put some data
2) start CREATE INDEX operation
3) Wait for a checkpoint and stop node before index create finished
4) Restart node
Since the checkpoint finished, the new index tree will be persisted to the disk, but not all data will be present in the index.
We should somehow store information about initializing index tree and mark it valid only after all data is indexed. The state should be persisted as well.
Attachments
Attachments
Issue Links
- is a child of
-
IGNITE-11075 Index rebuild procedure over cache partition file
- Open
- is related to
-
IGNITE-14702 Inconsistency of the new index when the node falls / deactivates
- Resolved
-
IGNITE-14625 Make DurableBackgroundTask return future
- Resolved
- is required by
-
IGNITE-14254 Graceful stop rebuilding indexes when deactivating a cluster
- Resolved
- relates to
-
IGNITE-14321 Forced index rebuilding does not work correctly
- Resolved
- links to