[
https://issues.apache.org/jira/browse/IGNITE-4569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Ozerov updated IGNITE-4569:
------------------------------------
Description:
Design considerations:
1) Cache is *not blocked* for updates during index creation.
2) DDL thread flow:
- Create index and add it to some collection of pending indexes;
- Iterate over all cache entries and add them one by one;
- Once iteration finished - add index to the table;
3) Cache thread flow:
- If there are any pending index, then propagate update to the index.
Be careful with put/remove interleaving.
was:Actual index data modification - initially will render whole SQL table
inaccessible during initial index buildup
> Create SQL index locally
> ------------------------
>
> Key: IGNITE-4569
> URL: https://issues.apache.org/jira/browse/IGNITE-4569
> Project: Ignite
> Issue Type: Sub-task
> Components: cache, SQL
> Reporter: Alexander Paschenko
> Assignee: Alexander Paschenko
> Fix For: 2.0
>
>
> Design considerations:
> 1) Cache is *not blocked* for updates during index creation.
> 2) DDL thread flow:
> - Create index and add it to some collection of pending indexes;
> - Iterate over all cache entries and add them one by one;
> - Once iteration finished - add index to the table;
> 3) Cache thread flow:
> - If there are any pending index, then propagate update to the index.
> Be careful with put/remove interleaving.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)