Skip to content
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

Handle mc_amqp 3.13 msg record in 4.x (backport #13435) #13440

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Feb 28, 2025

The msg record was used in 3.13. This commit makes 4.x understand this record for backward compatibility, specifically for the rare case where:

  1. a 3.13 node internally parsed a message from a stream via
Message = mc:init(mc_amqp, amqp10_framing:decode_bin(Bin), #{})
  1. published this Message to a queue
  2. RabbitMQ got upgraded to 4.x

(This commit can be reverted in some future RabbitMQ version once it's safe to assume that these upgraded messages have been consumed.)

The changes were manually tested as described in Jira RMQ-1525.


This is an automatic backport of pull request #13435 done by [Mergify](https://mergify.com).

The `msg` record was used in 3.13. This commit makes 4.x understand
this record for backward compatibility, specifically for the rare case where:
1. a 3.13 node internally parsed a message from a stream via
```
Message = mc:init(mc_amqp, amqp10_framing:decode_bin(Bin), #{})
```
2. published this Message to a queue
3. RabbitMQ got upgraded to 4.x

(This commit can be reverted in some future RabbitMQ version once it's
safe to assume that these upgraded messages have been consumed.)

The changes were manually tested as described in Jira RMQ-1525.

(cherry picked from commit 91f5ce2)
@mergify mergify bot assigned ansd Feb 28, 2025
@michaelklishin michaelklishin merged commit 1389e0a into v4.1.x Feb 28, 2025
265 of 267 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13435 branch February 28, 2025 22:25
michaelklishin added a commit that referenced this pull request Mar 1, 2025
Handle mc_amqp 3.13 `msg` record in 4.x (backport #13435) (backport #13440)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants