[jira] [Created] (IGNITE-7356) IgfsImpl.stop(cancel: false) should not cancel batches

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-7356) IgfsImpl.stop(cancel: false) should not cancel batches

Anton Vinogradov (Jira)
Ilya Kasnacheev created IGNITE-7356:
---------------------------------------

             Summary: IgfsImpl.stop(cancel: false) should not cancel batches
                 Key: IGNITE-7356
                 URL: https://issues.apache.org/jira/browse/IGNITE-7356
             Project: Ignite
          Issue Type: Wish
          Components: igfs
    Affects Versions: 2.4
            Reporter: Ilya Kasnacheev
            Priority: Minor


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

{code}
            for (IgfsFileWorkerBatch batch : workerMap.values())
                batch.cancel();
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)