Subject: CVS commit: pkgsrc/net/rabbitmq
From: Adam Ciarcinski
Date: 2024-09-15 17:31:23
Message id: 20240915153123.4E825FC74@cvs.NetBSD.org

Log Message:
rabbitmq: updated to 3.13.7

RabbitMQ 3.13.7

Core Broker

Bug Fixes

Streams recover better from certain node process failures that may leave behind \ 
orphaned segment files
(that is, segment files that do not have a corresponding index file) or index \ 
files without a corresponding
segment file.

Kudos to @sysupbda for providing detailed reproduction steps and verifying the \ 
fix in the affected environment.

Config file peer discovery now logs warnings for certain common user mistakes.

Queue declaration operations now return more useful errors when Khepri is \ 
enabled and there's only a minority
of nodes online.

Logging is now more defensive around exception handling. Previously a (very \ 
rare) logger exception could
lead to the amq.rabbitmq.log handler and exchange to be removed.

Contributed by @gomoripeti.

rabbitmq-upgrade revive unintentionally tried to perform operations on replicas \ 
that are not local to the node.
This could result in an exceptions some of which were not handled and the \ 
command failed.
Re-running the command usually helped.

Enhancements

Enabling an experimental feature flag now involves an explicit confirmation.

Khepri projections are registered in a safer manner during node boot.

MQTT

Bug Fixes

Clients that use JWT tokens are now disconnected when their token expires. \ 
Previously all newly attempted
operations with an expired token would be rejected but a completely passive \ 
connection was not closed.

Enhancements

Connection that provide incorrect credentials now closed with a delay, just like \ 
for several
other protocols supported by RabbitMQ, as a throttling mechanism.

CLI Tools

Bug Fixes

When the Khepri feature flag is not enabled, rabbitmq-diagnostics \ 
metadata_store_status will not try to retrieve
and display its status.

Enhancements

rabbitmq-upgrade await_quorum_plus_one now produces more log messages when the \ 
operation times out.
When Khepri is enabled, it now also treats Khepri as a critical Raft-based \ 
component that may depend on replica quorum
just like queues and streams do.

Management Plugin

Bug Fixes

When no virtual host limits are set, the limits collection was returned as a \ 
JSON array (and not a JSON object)
by GET /api/vhost-limits.

Enhancements

GET /api/queues/quorum/{vhost}/{name}/status is a new endpoint that allows \ 
clients to retrieve several key quorum queue
replica and Raft metrics.

Contributed by @SimonUnge.

Shovel Plugin

Bug Fixes

GET /api/shovels/{vhost}/{name} now correctly returns a single shovel instead of \ 
all shovels in the target
virtual host.

Consistent Hashing Exchange Plugin

Bug Fixes

For an exchange declared with a hash-header, publishing failed with an exception \ 
when the client (usually unintentionally)
did not set that header.

Dependency Changes

Osiris was upgraded to 1.8.3
Cuttlefish was upgraded to 3.4.0
observer_cli was upgraded to 1.7.5

Files:
RevisionActionfile
1.97modifypkgsrc/net/rabbitmq/Makefile
1.74modifypkgsrc/net/rabbitmq/PLIST
1.89modifypkgsrc/net/rabbitmq/distinfo