ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Paschenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-4569) Create SQL index locally
Date Wed, 01 Feb 2017 11:27:51 GMT

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

Alexander Paschenko 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:
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.


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

Mime
View raw message