reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariia Mykhailova (JIRA)" <>
Subject [jira] [Commented] (REEF-1244) Group Communication does not close down properly at the end if reej job
Date Mon, 28 Nov 2016 18:47:58 GMT


Mariia Mykhailova commented on REEF-1244:

[~dkm2110] What's the status of this JIRA? It looks fairly old, and we've done a lot of changes
in shutting down IMRU jobs. If it's still valid, could you please provide more details?

> Group Communication does not close down properly at the end if reej job
> -----------------------------------------------------------------------
>                 Key: REEF-1244
>                 URL:
>             Project: REEF
>          Issue Type: Bug
>          Components: GroupCommunications
>    Affects Versions: 0.13
>         Environment: C#
>            Reporter: Dhruv Mahajan
>            Assignee: Dhruv Mahajan
> Currently, when we want to shut down evaluator, the dispose function of group communications
will be called. However, there is a race condition that occurs. For example, suppose evaluator
e1 calls dispose and closes the stream with evaluator e2. Then if e2 is in ReadAsync() function
of the stream, we will get a failure since Dispose() function in e2 is still not called. Moreover,
the Dispose() function in e2 will try to close the already closed stream again. 
> Some of these scenarios are handled by catching Exceptions and ignoring them but some
are not captured and throw errors which leads to driver and reef job failing.
> The aim of this JIRA is to identify all these closing scenarios and handle them appropriately.

This message was sent by Atlassian JIRA

View raw message