From Fedora Project Wiki
m (cosmetic)
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 5: Line 5:


== Owner ==
== Owner ==
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]], [[User:rbarlow|Randy Barlow]], [[User:jcline|Jeremy Cline]]
* Name: [[User:Peter|Peter Lemenkov]], [[SIGs/Erlang|Fedora Erlang SIG]], [[User:bowlofeggs|Randy Barlow]], [[User:jcline|Jeremy Cline]]
* Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org, rbarlow@fedoraproject.org, jcline@fedoraproject.org
* Email: lemenkov@gmail.com, erlang@lists.fedoraproject.org, bowlofeggs@fedoraproject.org, jcline@fedoraproject.org
* Release notes owner: <!--- To be assigned by docs team [[User:FASAccountName| Release notes owner name]] <email address> -->
* Release notes ticket: [https://pagure.io/fedora-docs/release-notes/issue/78 #78]
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
<!--- UNCOMMENT only for Changes with assigned Shepherd (by FESCo)
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
* FESCo shepherd: [[User:FASAccountName| Shehperd name]] <email address>
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
-->
-->
* Tracking bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=1520901 #1520901]


== Detailed Description ==
== Detailed Description ==
Line 53: Line 53:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
** [https://bugzilla.redhat.com/1448422 Upgrade Erlang to the latest version (20.1.6)].
** <s>[https://bugzilla.redhat.com/1448422 Upgrade Erlang to the latest version (20.2.3)].</s>. Done!
** We must rebuild every package which requires NIF or Driver version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 20.x.y.
** We must rebuild every package which requires NIF version (listed below in the [[#Dependencies|Dependencies]] section) against Erlang 20.x.y.
** 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/travelping/ejournald erlang-ejournald]
** We need to fill new review request for [https://github.com/travelping/ejournald erlang-ejournald]
Line 113: Line 113:
| {{package|couchdb}}  || {{no}}
| {{package|couchdb}}  || {{no}}
|-
|-
| {{package|ejabberd}}  || {{no}}
| {{package|erlang-basho_metrics}}  || {{yes}}
|-
|-
| {{package|erlang-basho_metrics}}  || {{no}}
| {{package|erlang-bitcask}}  || {{no}}
|-
|-
| {{package|erlang-bitcask}}  || {{no}}
| {{package|erlang-cache_tab}}  || {{no}}
|-
|-
| {{package|erlang-cl}}  || {{no}}
| {{package|erlang-cl}}  || {{no}}
|-
|-
| {{package|erlang-ebloom}}  || {{no}}
| {{package|erlang-ebloom}}  || {{yes}}
|-
|-
| {{package|erlang-eleveldb}}  || {{no}}
| {{package|erlang-eleveldb}}  || {{no}}
|-
|-
| {{package|erlang-emmap}}  || {{no}}
| {{package|erlang-emmap}}  || {{yes}}
|-
| {{package|erlang-esip}}  || {{no}}
|-
| {{package|erlang-fast_tls}}  || {{no}}
|-
| {{package|erlang-fast_xml}}  || {{no}}
|-
| {{package|erlang-fast_yaml}}  || {{no}}
|-
|-
| {{package|erlang-erlsyslog}}  || {{no}}
| {{package|erlang-hyper}}  || {{no}}
|-
|-
| {{package|erlang-esasl}}  || {{no}}
| {{package|erlang-iconv}}  || {{no}}
|-
|-
| {{package|erlang-esdl}}  || {{no}}
| {{package|erlang-jiffy}}  || {{yes}}
|-
|-
| {{package|erlang-js}}  || {{no}}
| {{package|erlang-riak_ensemble}}  || {{no}}
|-
|-
| {{package|erlang-lfe}}  || {{no}}
| {{package|erlang-sd_notify}}  || {{yes}}
|-
|-
| {{package|erlang-sd_notify}}  || {{no}}
| {{package|erlang-skerl}}  || {{yes}}
|-
|-
| {{package|erlang-skerl}}  || {{no}}
| {{package|erlang-snappy}}  || {{yes}}
|-
|-
| {{package|erlang-snappy}}  || {{no}}
| {{package|erlang-stringprep}}  || {{no}}
|-
|-
| {{package|wings}}  || {{no}}
| {{package|erlang-xmpp}}  || {{no}}
|}
|}


Line 160: Line 168:
* [https://www.erlang.org/news/114 Erlang/OTP 20.0 release notes]
* [https://www.erlang.org/news/114 Erlang/OTP 20.0 release notes]
* [https://www.erlang.org/news/115 Erlang/OTP 20.1 release notes]
* [https://www.erlang.org/news/115 Erlang/OTP 20.1 release notes]
* [https://www.erlang.org/news/116 Erlang/OTP 20.2 release notes]


== Release Notes ==
== Release Notes ==


Erlang/OTP 20.1.6 is available in Fedora 28.
Erlang/OTP 20.2.3 is available in Fedora 28.


[[Category:ChangeReadyForWrangler]]
[[Category:ChangeAcceptedF28]]
<!-- [[Category:ChangePageIncomplete]] -->
<!-- [[Category:ChangePageIncomplete]] -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->

Latest revision as of 14:41, 2 March 2018

Erlang 20

Summary

Update Erlang/OTP to version 20.

Owner

Current status

Detailed Description

Upgrade Erlang to version 20 which brings a lot of good stuff. Just a few highlights:

  • So-called dirty schedulers are available on systems with SMP.
  • Atoms may now contain arbitrary Unicode characters (for example, 'здравствуй-你好').
  • Erlang application can handle some OS signals (SIGHUP, for example).
  • Improved unicode support for strings
  • 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.
  • Start 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 scheduling in Erlang. User's NIFs will work with less latency and smaller jitter.
  • 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.
  • Due to new atom's internal representation, some applications won't be able to deserialize data back serialized using previous Erlang version. The same applies to clustered applications - better upgrade and restart them entirely rather than adding a new upgraded nodes into a cluster.

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, and Erlang 19. 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 20.2.3 is available in Fedora 28.