Skip to content

Allow use of long or short names via a variable in rabbitmq-env #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

dezmodue
Copy link

Very simple change to make it possible running with long names when needed

It is sometimes useful to run the node with the long name, leave the default as -sname but allow using long name via a variable
It is sometimes useful to run the node with the long name, leave the default as -sname but allow using long name via a variable
@michaelklishin
Copy link
Collaborator

This was fixed on the branch bug18626.

@dumbbell dumbbell modified the milestone: n/a Mar 24, 2015
dcorbacho pushed a commit that referenced this pull request May 27, 2016
binarin pushed a commit that referenced this pull request Sep 28, 2021
…dary Umbrella

Before, we were relying on the `secondary_erlang_mk_depsdir` config key
value to compute the secondary path of an application. When there is no
secondary Umbrella configured, the computed value was based on the
primary `deps` dir.

However, when the caller asks for the currently tested app, we might not
be in an Umbrella at all: it's perfectly fine to e.g. clone the
application alone and test it. In this case, the computed value would
point to a non-existing directory (e.g. rabbitmq-server/deps/rabbit).

So instead of relying on the default secondary Umbrella when there is
none configured, we directly check if there is one configured. If there
is none, the secondary path for the application is set to the primary
path. This way, we are sure the directory exists and is correct, no
matter how the project was cloned.

Fixes #24.
dcorbacho pushed a commit that referenced this pull request Jul 5, 2023
Offset readers handle missing segments
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