summaryrefslogtreecommitdiff
path: root/scripts/rabbitmqctl.bat
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-04-08 16:58:24 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-04-09 10:21:19 +0200
commit63a533df6788abecbda5823080125ebe2812367d (patch)
treee3481a7664b1b7600e8d9c9ba1cf81591b304bf5 /scripts/rabbitmqctl.bat
parent9f4b27736ab7569f952828963ef3371aa95d3ac9 (diff)
downloadrabbitmq-server-git-63a533df6788abecbda5823080125ebe2812367d.tar.gz
rabbit_feature_flags: Restart registry regen if it changed meanwhile
Before we query all the details needed to generate a new registry, we save the version of the currently loaded one, using the `vsn` Erlang module attribute added by the compiler. When the new registry is ready to be loaded, we verify again the version of the loaded one: if it differs, it means a concurrent process reloaded the registry. In this case, we restart the entire regen procedure, including the query of fresh details. The goal is to avoid any loss of information from the existing registry.
Diffstat (limited to 'scripts/rabbitmqctl.bat')
0 files changed, 0 insertions, 0 deletions