[erlang-patches] Supervisor transient workers restart strategy fix

Björn Gustavsson <>
Tue Nov 9 15:09:45 CET 2010

2010/10/29 Björn Gustavsson <>:
> On Fri, Oct 29, 2010 at 1:19 PM, Michal Ptaszek
> <> wrote:
>> Hi,
>> we have found the following inconsistency in the supervisor.erl code:
>> when supervisor's child restart strategy is set to transient and the child exits with reason shutdown, it is never restarted.
>> The patches include fix for the issue and the test suite used for reproducing the error, and later, after patching, for verifying the correctness of the code.
>> The patches are available here:
>> git fetch :paulgray/otp.git
>> supervisor_transient_children_fix
> Thanks! Will include in pu.

This change breaks mnesia (27 test cases fail).

While it might be possible to update mnesia to
cope with this change, we suspect that other
applications could break as well.

Therefore, the patch has been rejected and
will be taken out of of pu.

Björn Gustavsson, Erlang/OTP, Ericsson AB

More information about the erlang-patches mailing list