Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Feb 21, 2025

The rabbit_registry boot step starts up the rabbit_registry gen server from rabbit_common. This is a registry somewhat similar to the feature flag registry - it's meant to protect an ETS table used for looking up implementers of behaviors. The registry and its ETS table should be available as early as possible: the step should enable external_infrastructure rather than require it.

This is a quick fix for #13352. The crash in #13352 occurs because the database boot step runs before the rabbit_registry and Khepri deletes transient queues for the local node on during init (and that operation reads from the registry).

Fixes #13352


This is an automatic backport of pull request #13381 done by Mergify.

The `rabbit_registry` boot step starts up the `rabbit_registry` gen
server from `rabbit_common`. This is a registry somewhat similar to
the feature flag registry - it's meant to protect an ETS table used for
looking up implementers of behaviors. The registry and its ETS table
should be available as early as possible: the step should enable
external_infrastructure rather than require it.

(cherry picked from commit 3867012)
@michaelklishin michaelklishin merged commit 3d2f487 into v4.1.x Feb 21, 2025
270 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13381 branch February 21, 2025 20:55
michaelklishin added a commit that referenced this pull request Feb 21, 2025
Run `rabbit_registry` boot step after `pre_boot` (backport #13381) (backport #13393)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants