Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Fix #2017, support debug mode for master server, standby server, agent #2020

Merged
merged 7 commits into from
Dec 4, 2018
Merged

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Nov 28, 2018

No description provided.

@PHILO-HE PHILO-HE self-assigned this Nov 28, 2018
bin/start-ssm.sh Outdated
@@ -93,7 +99,8 @@ if [ x"${SMARTSERVERS}" != x"" ]; then
--config "${SMART_CONF_DIR}" \
--hosts "${OTHER_MASTERS}" --hostsend \
--daemon start \
smartserver $SMART_VARGS_STANDBY
smartserver $
SMART_VARGS_STANDBY
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that there is no need to put SMART_VARGS_STANDY on a new line.

@@ -24,6 +24,7 @@ bin=$(cd "${bin}">/dev/null; pwd)

AGENT_HOSTS=
while [ $# != 0 ]; do
DEBUG_OPT=""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this statement to the outside of while loop. Please test again after that.

@PHILO-HE PHILO-HE changed the title #2017 support debug mode for smart agent Fix #2017, support debug mode for master server, standby server, agent Nov 30, 2018
@PHILO-HE
Copy link
Member

PHILO-HE commented Dec 3, 2018

Please update "Run SSM" section in ssm-deployment-guide.md for introducing SSM's debug mode for three processes.

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

Successfully merging this pull request may close these issues.

2 participants