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

Garbd does show as empty string in wsrep_incoming_addresses, which leads to glb parse error. #12

Merged
merged 4 commits into from
May 6, 2014

Conversation

joffrey92
Copy link
Contributor

Added sed command to filter starting comma, ending comma, and multiple commas.

echo ",,,,,10.0.20.1:3306,,,,10.0.20.3:3306,10.0.20.8:3306,,,," | sed -e 's/,,*/,/g' -e 's/^,//g' -e 's/,$//g'
10.0.20.1:3306,10.0.20.3:3306,10.0.20.8:3306

ayurchen added a commit that referenced this pull request May 6, 2014
Fixes #11: Garbd does show as empty string in wsrep_incoming_addresses, which leads to glb parse error. Many thanks to jeoffrey92 for sed-fu.
@ayurchen ayurchen merged commit b13985b into codership:master May 6, 2014
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.

2 participants