Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14625

Make DurableBackgroundTask return future

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11
    • Component/s: persistence
    • Labels:
      None
    • Release Note:
      Implement asynchronous execution of durable background tasks.
    • Ignite Flags:
      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

            Activity

              People

              • Assignee:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reporter:
                ktkalenko@gridgain.com Kirill Tkalenko
                Reviewer:
                Ivan Bessonov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m