Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-24 | erts: Remove halfword heap relative comparisions | Björn-Egil Dahlberg | |
* Removed cmp_rel, cmp_rel_term and eq_rel | |||
2015-06-24 | erts: Remove halfword pointer compression | Björn-Egil Dahlberg | |
* Removed COMPRESS_POINTER and EXPAND_POINTER | |||
2015-06-24 | erts: Remove halfword basic relative heap operations | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword from configure | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword in lib_src | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword in erl_nif.h | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove halfword in erl_driver.h | Björn-Egil Dahlberg | |
2015-06-24 | erts: Remove HALFWORD_HEAP definition | Björn-Egil Dahlberg | |
2015-06-24 | Update OTP Version | Henrik Nord | |
2015-06-23 | Updated OTP versionOTP-18.0 | Erlang/OTP | |
2015-06-23 | Prepare release | Erlang/OTP | |
2015-06-23 | Merge branch 'ia/ssl/modern-timetrap' | Ingela Anderton Andin | |
* ia/ssl/modern-timetrap: ssl: Make init functions fail if make_certs:all fails ssl: Avoid sleep ssl: modernize timetrap handling | |||
2015-06-22 | Merge branch 'rickard/debug-fix/OTP-12650' | Rickard Green | |
* rickard/debug-fix/OTP-12650: Fix node/dist refc count | |||
2015-06-22 | Fix node/dist refc count | Rickard Green | |
2015-06-22 | ssl: Make init functions fail if make_certs:all fails | Ingela Anderton Andin | |
2015-06-22 | Merge branch 'vinoski/driver-doc-fix/OTP-12855' | Rickard Green | |
* vinoski/driver-doc-fix/OTP-12855: Fix documentation of ERL_DRV_ERROR_ERRNO | |||
2015-06-22 | ssl: Avoid sleep | Ingela Anderton Andin | |
When possible avoid sleep in test cases. | |||
2015-06-22 | ssl: modernize timetrap handling | Ingela Anderton Andin | |
Watchdog is legacy test_server use only ct:timetrap/1 | |||
2015-06-22 | Fix documentation of ERL_DRV_ERROR_ERRNO | Steve Vinoski | |
2015-06-22 | Merge branch 'bruce/change-license' | Bruce Yinhe | |
OTP-12845 * bruce/change-license: fix errors caused by changed line numbers Change license text to APLv2 | |||
2015-06-22 | Merge branch 'sverk/nosmp-init-timer-wheel' | Sverker Eriksson | |
* sverk/nosmp-init-timer-wheel: erts: Fix timer wheel initialization bug for non smp | |||
2015-06-22 | Merge branch 'egil/fix-erl_poll-darwin' | Björn-Egil Dahlberg | |
* egil/fix-erl_poll-darwin: erts: Fix erl_poll on darwin | |||
2015-06-22 | Merge branch 'kostis/hipe-no-dial-warnings' | Henrik Nord | |
* kostis/hipe-no-dial-warnings: Eliminate a dialyzer warning Simplify handling of o2 and o3 option expansion | |||
2015-06-22 | fix errors caused by changed line numbers | Bruce Yinhe | |
2015-06-22 | Merge branch 'hb/dialyzer/fix_opaque_types/OTP-12493' | Hans Bolinder | |
* hb/dialyzer/fix_opaque_types/OTP-12493: dialyzer: Correction of last commit | |||
2015-06-22 | dialyzer: Correction of last commit | Hans Bolinder | |
2015-06-22 | Merge branch 'anders/diameter/18/OTP-12588' | Anders Svensson | |
* anders/diameter/18/OTP-12588: vsn -> 1.10 Remove dead upgrade-related code Update appup for 18 Fix release note typo Fix comment typo | |||
2015-06-22 | Merge branch 'anders/diameter/sctp/OTP-12768' | Anders Svensson | |
* anders/diameter/sctp/OTP-12768: Fix connection timeouts in test transports Fix start order of alternate transports Log discarded answers Ensure accepting processes are first in, first out Remove upgrade-related code Be less parallel in traffic suite Increase send/receive buffers for testsuite SCTP listeners Decrease unnecessarily long testsuite timetraps Simplify accepting transport start Simplify peeloff signaling Simplify socket close at terminate Don't monitor listener after peeloff Don't receive initial messages out of order Remove assumption that SCTP association ids will be unique | |||
2015-06-22 | Merge branch 'anders/diameter/grouped_errors/OTP-12721' | Anders Svensson | |
* anders/diameter/grouped_errors/OTP-12721: Fix decode of Grouped AVPs containing errors Simplify logic Simplify logic | |||
2015-06-21 | Fix connection timeouts in test transports | Anders Svensson | |
Without a timeout, TCP/SCTP connect can take some time to fail, which resulted in failures in the pool suite after the parent commit fixed the previously faulty sctp-first-then-tcp connect. | |||
2015-06-21 | Fix start order of alternate transports | Anders Svensson | |
A transport configured with diameter:add_transport/2 can be passed multiple transport_module/transport_config tuples in order to specify alternate configuration, modules being attempted in order until one succeeds. This is primarily for the connecting case, to allow a transport to be configured to first attempt connection over SCTP, and then TCP in case SCTP fails, with configuration like that documented: {transport_module, diameter_sctp}, {transport_config, [...], 5000}, {transport_module, diameter_tcp}, {transport_config, [...]} If the options are the same in both cases, another possibility would be configuration like this, which attaches the same transport_config to both modules: {transport_module, diameter_sctp}, {transport_module, diameter_tcp}, {transport_config, [...], 5000}, However, in this case the start order was reversed relative to the documented order: first tcp, then sctp. This commit restores the intended order. OTP-12851 | |||
2015-06-20 | vsn -> 1.10 | Anders Svensson | |
2015-06-20 | Remove dead upgrade-related code | Anders Svensson | |
Not needed with the parent commit's restart_application. | |||
2015-06-20 | Log discarded answers | Anders Svensson | |
To diameter_lib:log/4, which was last motivated in commit 39acfdb0. | |||
2015-06-20 | erts: Fix erl_poll on darwin | Björn-Egil Dahlberg | |
2015-06-19 | Ensure accepting processes are first in, first out | Anders Svensson | |
A listener process in diameter_sctp starts accepting transport processes as required, either as associations are established or as diameter asks for a processes to be started. Since this can happen in any order, the listener maintains two queues: one for processes that diameter has requested and which are waiting to be given an association, another for processes that have been started to become owners of an association but are waiting for diameter to request them. Only one queue at a time is non-empty. The first queue's length is bounded by the number of accepting processes configured as pool_size. Entries in the second queue are short-lived since diameter starts a replacement transport process whenever an existing one dies or communicates that it has an association. The two queues were previously implemented in an ets ordered_set, whose keys were the pid() of transport processes. Removing an element from the queue was then done with ets:first/1. The problem with this it's not really a queue: there's no guarantee that pid-ordering is the same as the order in which processes are started. If it isn't then it's possible that an established association never be given to diameter as a transport process if there's always a newer association whose pid sorts first. This isn't a problem in practice since it would require new associations to be established faster than diameter starts transport processes, but redo the implementation as a queue, with strict FIFO semantics. | |||
2015-06-19 | Remove upgrade-related code | Anders Svensson | |
The changes in some of the previous commits assume application restart. | |||
2015-06-19 | Be less parallel in traffic suite | Anders Svensson | |
At the current count, there are 128 groups run in parallel, each of which runs 52 testcases in parallel. That makes for 128*52 = 6656 testcases, which is probably also a factor in the sporadic failures addressed by the parent commit. Don't run the 128 groups in parallel. | |||
2015-06-19 | Increase send/receive buffers for testsuite SCTP listeners | Anders Svensson | |
The defaults result in sporadic timeouts in the traffic suite after testing over SCTP was added in commit fadf753b. The behaviour looks to be specific to SLES 11, and is presumably the same resends/congestion that lead to the buffers being increased in the gen_sctp suite in commit 12febf13 (and commented in commit e931991f). The behaviour hasn't been seen on SLES 10. | |||
2015-06-19 | Decrease unnecessarily long testsuite timetraps | Anders Svensson | |
2015-06-19 | Simplify accepting transport start | Anders Svensson | |
Don't pass an association id that's no longer used. | |||
2015-06-19 | Simplify peeloff signaling | Anders Svensson | |
In particular, don't give the accepting transport process the listening socket. It was used to match the initial sctp message received in a peeloff message, but replace the socket in the forwarded message instead. | |||
2015-06-19 | Simplify socket close at terminate | Anders Svensson | |
The existing code was a remnant of the pre-peeloff implementation. There's no need to close anything but the whole socket. | |||
2015-06-19 | Don't monitor listener after peeloff | Anders Svensson | |
Listener death should have no effect on a peeled off association. | |||
2015-06-19 | Don't receive initial messages out of order | Anders Svensson | |
Forwarding an sctp message from the listener process at the same time that the controlling process is changed means there's no guarantee that the message order will be preserved. Selectively receive the peeloff message before entering the gen_server loop to ensure the order is preserved. | |||
2015-06-19 | Remove assumption that SCTP association ids will be unique | Anders Svensson | |
This is not the case under Solaris for one: successive associations can receive the same association id as a result of peeloff, the id only being unique for the controlling port, not for the listening port as is the case under Linux for example. This made for many failures in the diameter test suites, the traffic suite in particular. Peeloff in diameter_sctp was introduced in 9a671bf0, before which the assumption was fine since it was the listening process that owned all associations. (Which obviously had other drawbacks.) Other remnants of the pre-peeloff implementation have also been removed: that the listener process might receive a message on a socket after peeloff for one. Peeloff in gen_sctp became available in commit 067cfe79, after the original implementation of diameter_sctp. This is trace on the unpatched code showing id reuse under Solaris: + {trace_ts,<0.103.0>,call, {diameter_sctp,handle_info, [{sctp,#Port<0.1625>, {127,0,0,1}, 35904, {[],{sctp_assoc_change,comm_up,0,32,32,1}}}, {listener,#Ref<0.0.1.948>,#Port<0.1625>,4, 57384, {-4,61481}, #Ref<0.0.8.12>, []}]}, {1432,458752,612168}} + {trace_ts,<0.103.0>,call, {diameter_sctp,handle_info, [{sctp,#Port<0.1625>, {127,0,0,1}, 35905, {[],{sctp_assoc_change,comm_up,0,32,32,1}}}, {listener,#Ref<0.0.1.948>,#Port<0.1625>,4, 57384, {-3,61481}, #Ref<0.0.8.12>, []}]}, {1432,458752,613042}} The result was this, when the second association was incorrectly forwarded to the first association's controlling process: ** {function_clause, [{diameter_sctp,transition, [{peeloff,#Port<0.1635>, {sctp,#Port<0.1625>, {127,0,0,1}, 35892, {[],{sctp_assoc_change,comm_up,0,32,32,1}}}, []}, {transport,<0.107.0>,accept,#Port<0.1634>,1,undefined,{32,32},0}], [{file,"transport/diameter_sctp.erl"},{line,561}]}, {diameter_sctp,t,2,[{file,"transport/diameter_sctp.erl"},{line,549}]}, {diameter_sctp,handle_info,2, [{file,"transport/diameter_sctp.erl"},{line,397}]}, {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,614}]}, {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,680}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,238}]}]} | |||
2015-06-18 | erts: Fix timer wheel initialization bug for non smp | Sverker Eriksson | |
Init esdp->timer_wheel as NULL to please setup_aux_work_timer(). | |||
2015-06-18 | Merge branch 'rickard/time-api-doc-fix' | Rickard Green | |
* rickard/time-api-doc-fix: Minor doc fixes | |||
2015-06-18 | Minor doc fixes | Rickard Green | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |