Skip to content
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

Dispatcher service check should escape DB_NAME with backticks #342

Open
gl opened this issue Apr 7, 2023 · 1 comment
Open

Dispatcher service check should escape DB_NAME with backticks #342

gl opened this issue Apr 7, 2023 · 1 comment

Comments

@gl
Copy link

gl commented Apr 7, 2023

In case the DB_NAME includes a special char, like "-", it is necessary to escape the database name with backticks. The following line should therefore be backslashbacktick${DB_NAME}backslashbacktick (sorry, github formatting is messing with the chars :))
Otherwise, the check fails and dispatcher service shuts down.

while ! ${dbcmd} -e "desc $DB_NAME.poller_cluster;" >/dev/null 2>&1; do

@crazy-max
Copy link
Member

SGTM, contribs welcomed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants