ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kasnacheev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7356) IgfsImpl.stop(cancel: false) should not cancel batches
Date Mon, 08 Jan 2018 12:32:00 GMT
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)

Mime
View raw message