|
31 | 31 | </header> |
32 | 32 | <p>This document describes the changes made to the ERTS application.</p> |
33 | 33 |
|
| 34 | +<section><title>Erts 12.3</title> |
| 35 | + |
| 36 | + <section><title>Fixed Bugs and Malfunctions</title> |
| 37 | + <list> |
| 38 | + <item> |
| 39 | + <p>Fixed a bug in the x86 JIT that might cause floating |
| 40 | + point instructions to wrongly throw an exception.</p> |
| 41 | + <p> |
| 42 | + Own Id: OTP-17822</p> |
| 43 | + </item> |
| 44 | + <item> |
| 45 | + <p> |
| 46 | + Preserve correct <c>nodedown_reason</c> if supervised |
| 47 | + distribution controller processes exit with <c>{shutdown, |
| 48 | + Reason}</c>.</p> |
| 49 | + <p> |
| 50 | + Own Id: OTP-17838 Aux Id: PR-5748 </p> |
| 51 | + </item> |
| 52 | + <item> |
| 53 | + <p> |
| 54 | + Handling of <c>send_timeout</c> for <c>gen_tcp</c> has |
| 55 | + been corrected so that the timeout is honored also when |
| 56 | + sending 0 bytes.</p> |
| 57 | + <p> |
| 58 | + Own Id: OTP-17840</p> |
| 59 | + </item> |
| 60 | + <item> |
| 61 | + <p> By default <c>global</c> does <i>not</i> take any |
| 62 | + actions to restore a fully connected network when |
| 63 | + connections are lost due to network issues. This is |
| 64 | + problematic for all applications expecting a fully |
| 65 | + connected network to be provided, such as for example |
| 66 | + <c>mnesia</c>, but also for <c>global</c> itself. A |
| 67 | + network of overlapping partitions might cause the |
| 68 | + internal state of <c>global</c> to become inconsistent. |
| 69 | + Such an inconsistency can remain even after such |
| 70 | + partitions have been brought together to form a fully |
| 71 | + connected network again. The effect on other applications |
| 72 | + that expects that a fully connected network is maintained |
| 73 | + may vary, but they might misbehave in very subtle hard to |
| 74 | + detect ways during such a partitioning. </p> <p> In order |
| 75 | + to prevent such issues, we have introduced a <i>prevent |
| 76 | + overlapping partitions</i> fix which can be enabled using |
| 77 | + the <seeapp |
| 78 | + marker="kernel:kernel_app#prevent_overlapping_partitions"><c>prevent_overlapping_partitions</c></seeapp> |
| 79 | + <c>kernel(6)</c> parameter. When this fix has been |
| 80 | + enabled, <c>global</c> will actively disconnect from |
| 81 | + nodes that reports that they have lost connections to |
| 82 | + other nodes. This will cause fully connected partitions |
| 83 | + to form instead of leaving the network in a state with |
| 84 | + overlapping partitions. Note that this fix <i>has</i> to |
| 85 | + be enabled on <i>all</i> nodes in the network in order to |
| 86 | + work properly. Since this quite substantially changes the |
| 87 | + behavior, this fix is currently disabled by default. |
| 88 | + Since you might get hard to detect issues without this |
| 89 | + fix you are, however, <i>strongly</i> advised to enable |
| 90 | + this fix in order to avoid issues such as the ones |
| 91 | + described above. As of OTP 25 this fix will become |
| 92 | + enabled by default. </p> |
| 93 | + <p> |
| 94 | + Own Id: OTP-17843 Aux Id: ERIERL-732, PR-5611 </p> |
| 95 | + </item> |
| 96 | + <item> |
| 97 | + <p>Corrected the type specification of |
| 98 | + <c>erlang:seq_trace/2</c>.</p> |
| 99 | + <p> |
| 100 | + Own Id: OTP-17900 Aux Id: GH-5667 </p> |
| 101 | + </item> |
| 102 | + <item> |
| 103 | + <p> |
| 104 | + Fix memory leak when tracing on running on a process that |
| 105 | + only handle system tasks or non-message signals (for |
| 106 | + example process_info requests).</p> |
| 107 | + <p> |
| 108 | + Own Id: OTP-17904 Aux Id: ERIERL-757 </p> |
| 109 | + </item> |
| 110 | + </list> |
| 111 | + </section> |
| 112 | + |
| 113 | + |
| 114 | + <section><title>Improvements and New Features</title> |
| 115 | + <list> |
| 116 | + <item> |
| 117 | + <p> |
| 118 | + Add support for using socket:sockaddr_in() and |
| 119 | + socket:sockaddr_in6() when using gen_sctp, gen_tcp and |
| 120 | + gen_udp. This will make it possible to use Link Local |
| 121 | + IPv6 addresses.</p> |
| 122 | + <p> |
| 123 | + Own Id: OTP-17455 Aux Id: GH-4852 </p> |
| 124 | + </item> |
| 125 | + <item> |
| 126 | + <p> |
| 127 | + Show <c>on_load</c> failure reasons in embedded mode.</p> |
| 128 | + <p> |
| 129 | + Own Id: OTP-17718 Aux Id: PR-5199 </p> |
| 130 | + </item> |
| 131 | + <item> |
| 132 | + <p> |
| 133 | + Compile date saved in the Erlang VM executable has been |
| 134 | + removed.</p> |
| 135 | + <p> |
| 136 | + Own Id: OTP-17891 Aux Id: PR-5589 </p> |
| 137 | + </item> |
| 138 | + <item> |
| 139 | + <p> |
| 140 | + Improve documentation for the dynamic node name feature.</p> |
| 141 | + <p> |
| 142 | + Own Id: OTP-17918</p> |
| 143 | + </item> |
| 144 | + </list> |
| 145 | + </section> |
| 146 | + |
| 147 | +</section> |
| 148 | + |
34 | 149 | <section><title>Erts 12.2.1</title> |
35 | 150 |
|
36 | 151 | <section><title>Fixed Bugs and Malfunctions</title> |
|
0 commit comments