[erlang-questions] erlang:setnode/3 and sctp

Tristan Sloughter t@REDACTED
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.

--
Tristan Sloughter
t@REDACTED
 
 
 
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 <serge@REDACTED> 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 <t@REDACTED> 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
>>> erlang-questions@REDACTED
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160126/97782b67/attachment.htm>


More information about the erlang-questions mailing list