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

IgfsImpl.stop(cancel: false) should not cancel batches

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.4
    • None
    • igfs
    • None

    Description

      Currently, in IgfsImpl.stop(), cancel parameter is not used, and all batches are cancelled regardless:

                  for (IgfsFileWorkerBatch batch : workerMap.values())
                      batch.cancel();
      

      I imagine, if cancel == false, we should await() batches which are finishing(), as per await(). WDYT?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ilyak Ilya Kasnacheev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: