This commit fixes the following test flake that occurred in CI:
```
make -C deps/rabbit ct-amqp_dotnet t=cluster_size_1:redelivery
```
After receiving the end frame, the server session proc replies with the end frame.
Usually when the test case succeeds, the server connection process receives
a DOWN for the session proc and untracks its channel number such that a
subsequent begin frame for the same channel number will create a new session
proc in the server.
In the flake however, the client receives the end, and pipelines new begin,
attach, and flow frames. These frames are received in the server connection's
mailbox before the monitor for the old session proc fires. That's why these
new frames are sent to the old session proc causing the test case to
fail.
This reveals a bug in the server.
This commit fixes this bug similarly as done in the AMQP 0.9.1 channel in
|
||
|---|---|---|
| .. | ||
| docs | ||
| include | ||
| priv/schema | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| INSTALL | ||
| LICENSE | ||
| LICENSE-MPL-RabbitMQ | ||
| Makefile | ||
| README.md | ||
| SECURITY.md | ||
| ct.test.spec | ||
README.md
RabbitMQ Server
RabbitMQ is a feature rich, multi-protocol messaging broker. It supports:
- AMQP 0-9-1
- AMQP 1.0
- MQTT 3.1.1
- STOMP 1.0 through 1.2
Installation
- Installation guides for various platforms
- Kubernetes Cluster Operator
- Releases on GitHub
- Supported and unsupported series
- Supported Erlang versions
Tutorials & Documentation
- RabbitMQ tutorials
- All documentation guides
- CLI tools guide
- Configuration guide
- Client libraries and tools
- Monitoring guide
- Production checklist
- Runnable tutorials
- Documentation source
Getting Help
- RabbitMQ mailing list
- Commercial support from Broadcom for open source RabbitMQ
- Community Discord
- Community Slack
#rabbitmqon Freenode
Contributing
See CONTRIBUTING.md and our development process overview.
Questions about contributing, internals and so on are very welcome on the mailing list.
Licensing
RabbitMQ server is licensed under the MPL 2.0.
Building From Source and Packaging
Copyright
(c) 2007-2024 Broadcom. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. All rights reserved.