How to ensure "feature flag states written to disk"? #10406
-
We have a script for RabbitMQ repair + upgrade. The flow (reproduction scenario) is: 00:18:57 TRC: rabbitmq_server-3.10.8\sbin: And after successful installation rabbitmq-server-3.11.26 crashes on start with:
I think it happens because RabbitMQ didn't wrote feature flag states to disk. There are no And now the question: how to ensure "feature flag states written to disk" and it's safe to stop RabbitMQ before uninstalling it?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You cannot stop a node a few milliseconds after asking it to perform a data migration (which some feature flags will do). Give it some time to finish what it is doing before shutting the node down. #9206, #10027, #9681 are somewhat relevant but ultimately, only a mechanism similar to pre-enabling plugins would really help avoid a fundamental race condition your script is creating:
|
Beta Was this translation helpful? Give feedback.
You cannot stop a node a few milliseconds after asking it to perform a data migration (which some feature flags will do). Give it some time to finish what it is doing before shutting the node down.
#9206, #10027, #9681 are somewhat relevant but ultimately, only a mechanism similar to pre-enabling plugins would really help avoid a fundamental race condition your script is creating: