ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ozerov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IGNITE-7356) IgfsImpl.stop(cancel: false) should not cancel batches
Date Thu, 14 Feb 2019 13:47:02 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-7356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vladimir Ozerov closed IGNITE-7356.
-----------------------------------

> 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
(v7.6.3#76005)

Mime
View raw message