-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Messages can be lost on upgrade from Erlang/OTP 19 (or earlier) to Erlang/OTP 20 #1243
Comments
It's not clear if we can make Erlang upgrades from 19 to 20 work for |
In that case there is not much difference between 3.6 and 3.7, but limiting fix to 3.7 still makes sense. The problem here is in this line https://github.com/rabbitmq/rabbitmq-server/blob/master/src/rabbit_queue_index.erl#L694
Third option can be hard, due to RC process, but could make sense not only for us, but other Erlang users as well. |
Discussion in erlang bugtracker https://bugs.erlang.org/browse/ERL-431 |
OTP team does not want to ad options to |
The critical parts are queues and vhosts names. We also have several places across plugins which use
|
Stomp and management issues are not node-local, which makes it impossible to apply the changes in 3.6, so it's definitely 3.7 |
If we can reproduce the old algorithm in our own function, why can't that go into 3.6.x? |
As a workaround for 3.6.x, we can reproduce old |
Just for queue names, the function should be relatively simple. Something like
|
Since erlang/otp@48e67f5 the old 3.6.11 now should use |
Changed the title to be less alarming as OTP 20 GA ended up including a "mostly compatible" |
OTP-20 has different format for
term_to_binary
format, probably changed in OTP-14337.Because queue index directory names are generated using
term_to_binary
they are different in OTP-20 and pre-20, so any data created before erlang upgrade will be lost because RabbitMQ deletes all unknown queue index directories.The milestone says
3.7.0
but together with some backwards-compatibility restoring changes by the the Erlang/OTP team, we hope to support OTP 20 in 3.6.11 as well.See RabbitMQ Erlang/OTP 20 compatibility thread on rabbitmq-users for more details and updates.
The text was updated successfully, but these errors were encountered: