[erlang-questions] OTP-10984

Lukas Larsson <>
Wed Dec 4 11:23:55 CET 2013


It was a while ago so I don't remember the exact details, but I think that
in order to recreate the bug you have to do many many smallish (10-20
bytes) writes to a file with a small (1-2 ms) delayed_write timer. You can
theoretically also get unlucky with larger delayed_write values, but I have
yet to see that actually happen.

Also fyi this race was introduced in the R15B release of Erlang/OTP.

Lukas


On Wed, Dec 4, 2013 at 11:00 AM, Trevor Woollacott <
> wrote:

> Hi,
>
>
>
> The release notes for Erlang R16B01 have the following fix:
>
>    OTP-10984  Fixed a race condition when using delayed_write when writing
>
>               to a file which would cause the same data to be written
>
>               multiple times.
>
>
>
> Can anyone please describe under what circumstances the above race
> condition will occur when using delayed_write?
>
>
>
> Kind regards,
> Trevor
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20131204/ab170fe8/attachment.html>


More information about the erlang-questions mailing list