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.
Attachments
Issue Links
- is blocked by
-
IGNITE-4635 Implement single-threaded DDL worker
-
- Closed
-