You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Kasnacheev (JIRA)" <ji...@apache.org> on 2018/01/08 12:32:00 UTC
[jira] [Created] (IGNITE-7356) IgfsImpl.stop(cancel: false) should
not cancel batches
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)