You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2021/10/11 09:57:00 UTC

[jira] [Resolved] (RATIS-1414) In TaskQueue, a task future should be completed only after the task is polled.

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

Tsz-wo Sze resolved RATIS-1414.
-------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

Thanks [~shashikant] for reviewing and merging the pull request.

> In TaskQueue, a task future should be completed only after the task is polled.
> ------------------------------------------------------------------------------
>
>                 Key: RATIS-1414
>                 URL: https://issues.apache.org/jira/browse/RATIS-1414
>             Project: Ratis
>          Issue Type: Bug
>          Components: util
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 2.2.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In HDDS-5831, we try to check if a TaskQueue is empty after a task is completed.  However, the task may still stay in the queue even the future is completed.
> The future should be completed after the task is polled out from the queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)