During the upgrade from 2.3.5 to 2.4.2, the following error message appears repeatedly in the RabbitMQ server logs:
[warning] <x.xxx.x> Mnesia->Khepri fallback handling: Mnesia function failed <number> times.
Possibly an infinite retry loop; trying one last time.
The upgrade process then halts and does not complete automatically.
RabbitMQ Tile 2.3.5 → 2.4.2
The issue is triggered by the presence of the exchange logger backend configuration, which conflicts with internal Khepri DB initialization logic during the upgrade.
Problematic configuration:
This configuration, when present, leads to repeated Mnesia-to-Khepri fallback failures and stalls the upgrade.
Before upgrading, remove or disable the exchange logger backend configuration from the RabbitMQ configuration file.
Remove the following block:
{exchange, [
{enabled, true}
]}
Once removed, reattempt the upgrade from 2.3.5 to 2.4.2. The upgrade should complete without any further issues.
Alternative Approach
monit stop rabbitmq-server
monit start rabbitmq-server
This approach has been observed to avoid the issue entirely.
Known Issue — Manual workaround available.
Future RabbitMQ Tile release will have the fix.