Skip to content

Commit 661aa46

Browse files
authored
[chore] Allow compression for erlang >= 27.1 (#836)
* [chore] Allow compression for erlang >= 27.1
1 parent 1fd59fb commit 661aa46

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

apps/common/lib/elixir/features.ex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@ defmodule Elixir.Features do
3030
3131
A bug in Erlang/OTP 27.0.0 and 27.0.1 can cause a segfault when
3232
traversing the entire table with something like `:ets.foldl/3` if the
33-
`:compressed` table option is used. When this is fixed, we can change
34-
the version check to `"< 27.0.0 or >= 27.X"`.
33+
`:compressed` table option is used. The issue was fixed in Erlang 27.1
3534
36-
Issue to track: https://github.com/erlang/otp/issues/8682
35+
Relevant issue: https://github.com/erlang/otp/issues/8682
3736
"""
3837
def can_use_compressed_ets_table? do
3938
%{erlang: erlang_version} = Versions.to_versions(Versions.current())
4039

41-
Version.match?(erlang_version, "< 27.0.0")
40+
Version.match?(erlang_version, "< 27.0.0 or >= 27.1.0")
4241
end
4342
end

0 commit comments

Comments
 (0)