[erlang-questions] erlang:setnode/3 and sctp
Tue Jan 26 17:09:07 CET 2016
Aah, ok. Thanks, I'll take a look if I can understand what it'd take
to add this.
On Mon, Jan 25, 2016, at 10:42 PM, Serge Aleynikov wrote:
> Actually it was 2006.
> On Mon, Jan 25, 2016 at 11:41 PM, Serge Aleynikov <> wrote:
>> If memory serves me right, this flag was introduced to erts well after we implemented the SCTP driver back in 2008 (I believe it was erts R11B at that time), so you might have uncovered a regression bug.
>> On Mon, Jan 25, 2016 at 10:20 PM, Tristan Sloughter <> wrote:
>>>> One of the sources of a badarg in that function is if the port driver doesn't set the ERL_DRV_FLAG_SOFT_BUSY flag (see http://erlang.org/doc/man/driver_entry.html#driver_flags). The SCTP driver doesn't set this, so in the link to the code you sent, I'm guessing it fails here: https://github.com/erlang/otp/blob/maint/erts/emulator/beam/dist.c#L2772
>>> Ah, thanks!
>>> But crap... this means SCTP (at least with the provided driver) can't be used for distribution? A custom driver is required? Assuming there isn't something about SCTP itself that makes this problematic?
erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions