From Fedora Project Wiki
(Let's start from copying old page)
 
(Created Change)
Line 1: Line 1:
= Erlang 23 =
+
= Erlang 24 =
  
 
== Summary ==
 
== Summary ==
Update Erlang/OTP to version 23.
+
Update Erlang/OTP to version 24.
  
 
== Owner ==
 
== Owner ==
Line 17: Line 17:
  
 
== Current status ==
 
== Current status ==
* Targeted release: [[Releases/33|Fedora 33]]  
+
* Targeted release: [[Releases/35|Fedora 35]]  
 
* Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
 
* Last updated: {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}  
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
 
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Line 27: Line 27:
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
 
-->
 
-->
* FESCo issue: [https://pagure.io/fesco/issue/2380 #2380]
+
* FESCo issue: tbd
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1830381 #1830381]
+
* Tracker bug: tbd
* Release Notes tracker: [https://pagure.io/fedora-docs/release-notes/issue/501 #501]
+
* Release Notes tracker: tbd
  
 
== Detailed Description ==
 
== Detailed Description ==
Upgrade Erlang to version 23 which brings a lot of changes. [http://blog.erlang.org/OTP-23-Highlights/ Just a few highlights]:
+
Upgrade Erlang to version 24 which brings a lot of changes. Just a few highlights:
  
* Numerous scalability and performance improvements.
+
* [https://blog.erlang.org/the-road-to-the-jit/ New just-in-time compiler].  
* New modules - pg (pool group) and erpc (enhanced RPC).  
+
* Rewritten wx GUI module.
* Removed SSL 3.0 support entirely.
+
* HiPE module was removed.
* Removed deprecated part of erl_interface API
 
* An experimental socket backend for TCP and UDP API.  
 
* Even faster SSL/TLS operations.
 
* Now it's possible to work w/o external EPMD in production-ready applications
 
  
 
Aside from this, we plan to improve quality of Erlang and related packages. These are shortcomings we want to address:
 
Aside from this, we plan to improve quality of Erlang and related packages. These are shortcomings we want to address:
Besides that we still have a lengthy list of TODOs:
 
  
 
* Every daemon written in Erlang has its own logging solution which doesn't use neither syslog nor Journald. We should start switching them to unified logger..
 
* Every daemon written in Erlang has its own logging solution which doesn't use neither syslog nor Journald. We should start switching them to unified logger..
Line 58: Line 53:
 
== Scope ==
 
== Scope ==
 
* Proposal owners:
 
* Proposal owners:
** <s>[https://bugzilla.redhat.com/1807897 Upgrade Erlang to the latest version (23.0)]</s>. Done.
+
** [https://bugzilla.redhat.com/show_bug.cgi?id=1932656 Upgrade Erlang to the latest version (24.0)].
** <s>We must rebuild every package which requires NIF version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 23.x.y</s>. No need to rebuild anything this time.
 
 
** Every Erlang daemon's systemd unit must require epmd.socket.
 
** Every Erlang daemon's systemd unit must require epmd.socket.
 
** We need to fill new review request for [https://github.com/lizenn/erlang-dbus erlang-dbus]
 
** We need to fill new review request for [https://github.com/lizenn/erlang-dbus erlang-dbus]
Line 78: Line 72:
  
 
== Upgrade/compatibility impact ==
 
== Upgrade/compatibility impact ==
* Every Erlang upgrade requires the rebuilding of modules which contains [http://www.erlang.org/doc/reference_manual/ports.html ports] or [http://www.erlang.org/doc/tutorial/nif.html NIFs], and we will rebuild all such modules in Fedora. However if a user has some additional modules not available in a Fedora repository, then these modules must be rebuilt manually.
+
* [http://erlang.org/doc/man/HiPE_app.html HiPE] was removed completely.
* So-called [http://erlang.org/doc/man/HiPE_app.html HiPE] continues to deteriorate. In this version it's barely functional and likely is going to be removed in the next one.
 
  
 
== How To Test ==
 
== How To Test ==
Line 94: Line 87:
 
| {{package|elixir}} || {{no}}
 
| {{package|elixir}} || {{no}}
 
|-
 
|-
| {{package|rabbitmq-server}} || {{yes}}
+
| {{package|rabbitmq-server}} || {{no}}
 
|-
 
|-
 
| {{package|riak}} || {{no}} (package was retired :( )
 
| {{package|riak}} || {{no}} (package was retired :( )
Line 111: Line 104:
  
 
== Contingency Plan ==
 
== Contingency Plan ==
* Contingency mechanism: None necessary. Instead of falling back to the previous version we should fix existing packages in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches (as we already did with [[Features/Erlang_R14|Erlang R14]], [[Features/Erlang_R15|Erlang R15]], [[Features/Erlang_R16|Erlang R16]], [[Changes/BetterErlangSupport|Erlang 17]], [[Changes/Erlang_18|Erlang 18]], [[Changes/Erlang_19|Erlang 19]], [[Changes/Erlang_20|Erlang 20]], [[Changes/Erlang_21|Erlang 21]] and [[Changes/Erlang_22|Erlang 22]]). It should be noted that this change consists from an independent or loosely coupled smaller changes. If we fail to deliver some changes in time, we should reschedule these exact changes to the future Fedora release while keeping already implemented ones.
+
* Contingency mechanism: None necessary. Instead of falling back to the previous version we should fix existing packages in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches (as we already did with [[Features/Erlang_R14|Erlang R14]], [[Features/Erlang_R15|Erlang R15]], [[Features/Erlang_R16|Erlang R16]], [[Changes/BetterErlangSupport|Erlang 17]], [[Changes/Erlang_18|Erlang 18]], [[Changes/Erlang_19|Erlang 19]], [[Changes/Erlang_20|Erlang 20]], [[Changes/Erlang_21|Erlang 21]], [[Changes/Erlang_22|Erlang 22]], and [[Changes/Erlang_23|Erlang 23]]). It should be noted that this change consists from an independent or loosely coupled smaller changes. If we fail to deliver some changes in time, we should reschedule these exact changes to the future Fedora release while keeping already implemented ones.
 
* Contingency deadline: N/A
 
* Contingency deadline: N/A
 
* Blocks release? N/A
 
* Blocks release? N/A
Line 122: Line 115:
 
<!-- N/A (not a System Wide Change) -->
 
<!-- N/A (not a System Wide Change) -->
  
* [https://www.erlang.org/news/141 Erlang/OTP 23.1 release notes]
+
* [https://www.erlang.org/news/146 Erlang/OTP 24.0-rc2 release notes]
  
 
== Release Notes ==
 
== Release Notes ==
  
Erlang/OTP 23.1 is available in Fedora 33.
+
Erlang/OTP 24.0 is available in Fedora 35.
  
 
[[Category:ChangeAcceptedF33]]
 
[[Category:ChangeAcceptedF33]]
Line 136: Line 129:
  
 
<!-- Select proper category, default is Self Contained Change -->
 
<!-- Select proper category, default is Self Contained Change -->
[[Category:ChangePageIncomplete]]
+
[[Category:ChangeReadyForWrangler]]
 
<!-- [[Category:SystemWideChange]] -->
 
<!-- [[Category:SystemWideChange]] -->

Revision as of 15:54, 3 April 2021

Erlang 24

Summary

Update Erlang/OTP to version 24.

Owner

Current status

  • Targeted release: Fedora 35
  • Last updated: 2021-04-03
  • FESCo issue: tbd
  • Tracker bug: tbd
  • Release Notes tracker: tbd

Detailed Description

Upgrade Erlang to version 24 which brings a lot of changes. Just a few highlights:

Aside from this, we plan to improve quality of Erlang and related packages. These are shortcomings we want to address:

  • Every daemon written in Erlang has its own logging solution which doesn't use neither syslog nor Journald. We should start switching them to unified logger..
  • We should allow D-Bus API via erlang-dbus library or any other recent implementations..
  • Further improve Erlang Packaging Guidelines and promote it as the official guideline.
  • Switch to rebar3 as a main build tool.
  • SELinux rules for main Erlang applications (Ejabberd, CouchDB, RabbitMQ) are outdated or missing.

Benefit to Fedora

Fedora users, both developers and end-users, will have visible benefits from using Fedora-provided packages. Namely:

  • Improved scalability and robustness.

Scope

Upgrade/compatibility impact

  • HiPE was removed completely.

How To Test

  • Ensure that high-grade Erlang applications are still working:
Name Tested
Package-x-generic-16.pngcouchdb No
Package-x-generic-16.pngejabberd No
Package-x-generic-16.pngelixir No
Package-x-generic-16.pngrabbitmq-server No
Package-x-generic-16.pngriak No (package was retired :( )
Package-x-generic-16.pngwings No
  • Collect feedback from volunteers regarding their experience with this Erlang/OTP version

User Experience

Users will get more robust, scalable, and fast Erlang applications.

Dependencies

The following packages must be rebuilt: N/A. This time there is no API/ABi change in NIF or Driver API.

Contingency Plan

  • Contingency mechanism: None necessary. Instead of falling back to the previous version we should fix existing packages in order to help the Community. We should also monitor upstream development process for potentially discovered issues and proactively apply patches (as we already did with Erlang R14, Erlang R15, Erlang R16, Erlang 17, Erlang 18, Erlang 19, Erlang 20, Erlang 21, Erlang 22, and Erlang 23). It should be noted that this change consists from an independent or loosely coupled smaller changes. If we fail to deliver some changes in time, we should reschedule these exact changes to the future Fedora release while keeping already implemented ones.
  • Contingency deadline: N/A
  • Blocks release? N/A
  • Blocks product? N/A

Documentation

Release Notes

Erlang/OTP 24.0 is available in Fedora 35.