Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Implement asynchronous execution of durable background tasks.
-
Release Notes Required
Description
While trying to implement rebuilding indexes on DurableBackgroundTask, I encountered several problems:
- For each task, a new thread is created, which can be critical for rebuilding indexes, since there can be many caches and this can create many threads;
- Tasks can be completed close to the end of a checkpoint, and data may not reach this checkpoint.
Therefore, I propose to slightly rework the DurableBackgroundTask.
Attachments
Issue Links
- relates to
-
IGNITE-8719 Index left partially built if a node crashes during index create or rebuild
- Resolved
- links to