From Fedora Project Wiki
m (typo)
(Updated plan)
Line 18: Line 18:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/30|Fedora 30]]  
 
* Targeted release: [[Releases/30|Fedora 30]]  
* Last updated: 2018-11-01
+
* Last updated: 2018-11-19
 
<!-- 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  
 
Bugzilla states meaning as usual:
 
Bugzilla states meaning as usual:
Line 32: Line 32:
 
Upgrade Erlang to version 21 which brings a lot of changes. Just a few highlights:
 
Upgrade Erlang to version 21 which brings a lot of changes. Just a few highlights:
  
 +
* The BEAM interpreter [http://blog.erlang.org/Interpreter-Optimizations/ has been completely re-written].
 +
* The compiler is [http://blog.erlang.org/My-OTP-21-Highlights/ about 10-20% faster].
 +
* Enhanced and improved  [http://blog.erlang.org/My-OTP-21-Highlights/ IO handling].
 
* All CORBA libraries were splitted off to [https://github.com/erlang/corba independent repository].
 
* All CORBA libraries were splitted off to [https://github.com/erlang/corba independent repository].
 
* Insecure crypto algorithms were disabled.
 
* Insecure crypto algorithms were disabled.
 
* Non-smp VM removed.
 
* Non-smp VM removed.
* New API for logging, logger
+
* New API for logging, logger.
 
* The zlib module has been refactored and all its operations will now yield appropriately, allowing them to be used freely in concurrent applications.
 
* The zlib module has been refactored and all its operations will now yield appropriately, allowing them to be used freely in concurrent applications.
  
Line 63: Line 66:
 
**** {{package|riak|Riak}} has has been retired. We have to re-add it back.
 
**** {{package|riak|Riak}} has has been retired. We have to re-add it back.
 
*** {{package|ejabberd|Ejabberd}}
 
*** {{package|ejabberd|Ejabberd}}
 +
*** {{package|rabbitmq-server|RabbitMQ}}
 +
*** {{package|couchdb|CouchDB}}
 
** [https://bugzilla.redhat.com/1434779 Package rebar3] in  a separate package and provide/adjust RPM macros.
 
** [https://bugzilla.redhat.com/1434779 Package rebar3] in  a separate package and provide/adjust RPM macros.
 
** Package GDB macros for easier coredump debugging (see also [https://bugzilla.redhat.com/show_bug.cgi?id=663253 this ticket]).
 
** Package GDB macros for easier coredump debugging (see also [https://bugzilla.redhat.com/show_bug.cgi?id=663253 this ticket]).
Line 166: Line 171:
  
 
* [http://www.erlang.org/news/123 Erlang/OTP 21.0 release notes]
 
* [http://www.erlang.org/news/123 Erlang/OTP 21.0 release notes]
 +
* [http://www.erlang.org/news/124 Erlang/OTP 21.1 release notes]
  
 
== Release Notes ==
 
== Release Notes ==
  
Erlang/OTP 21.0 is available in Fedora 30.
+
Erlang/OTP 21.1 is available in Fedora 30.
  
 
[[Category:ChangePageIncomplete]]
 
[[Category:ChangePageIncomplete]]

Revision as of 15:49, 19 November 2018

[WIP] Erlang 21

Summary

Update Erlang/OTP to version 21.

Owner

Current status

Detailed Description

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

  • The BEAM interpreter has been completely re-written.
  • The compiler is about 10-20% faster.
  • Enhanced and improved IO handling.
  • All CORBA libraries were splitted off to independent repository.
  • Insecure crypto algorithms were disabled.
  • Non-smp VM removed.
  • New API for logging, logger.
  • The zlib module has been refactored and all its operations will now yield appropriately, allowing them to be used freely in concurrent applications.

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 Journald.
  • We should add ability to use D-Bus via erlang-dbus library.
  • Further improve Erlang Packaging Guidelines.
  • Finish building noarch Erlang packages we've implemented previously.

Benefit to Fedora

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

  • Even faster and smoother IO in Erlang.
  • Improved logging, better unified with the rest of system.

Scope

Upgrade/compatibility impact

  • Every Erlang upgrade requires the rebuilding of modules which contains ports or 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.

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.pngmochiweb 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:

Name Rebuilt
Package-x-generic-16.pngcouchdb No
Package-x-generic-16.pngerlang-basho_metrics Yes
Package-x-generic-16.pngerlang-bitcask No
Package-x-generic-16.pngerlang-cache_tab No
Package-x-generic-16.pngerlang-cl No
Package-x-generic-16.pngerlang-ebloom Yes
Package-x-generic-16.pngerlang-eleveldb No
Package-x-generic-16.pngerlang-emmap Yes
Package-x-generic-16.pngerlang-esip No
Package-x-generic-16.pngerlang-fast_tls No
Package-x-generic-16.pngerlang-fast_xml No
Package-x-generic-16.pngerlang-fast_yaml No
Package-x-generic-16.pngerlang-hyper No
Package-x-generic-16.pngerlang-iconv No
Package-x-generic-16.pngerlang-jiffy Yes
Package-x-generic-16.pngerlang-riak_ensemble No
Package-x-generic-16.pngerlang-sd_notify Yes
Package-x-generic-16.pngerlang-skerl Yes
Package-x-generic-16.pngerlang-snappy Yes
Package-x-generic-16.pngerlang-stringprep No
Package-x-generic-16.pngerlang-xmpp No

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, and Erlang 20. 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 21.1 is available in Fedora 30.