Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/deploy/obproxyd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function check_opt()
else
echo "obproxy config server url:$OBPROXY_CONFIG_SERVER_URL"
OBPROXY_CONFIG_SERVER_URL_ARG=" -u $OBPROXY_CONFIG_SERVER_URL"
if
fi

# check PORT
if [ -z $OBPROXY_PORT ]
Expand Down
2 changes: 1 addition & 1 deletion src/obproxy/ob_proxy_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void ObProxyMain::print_usage() const
MPRINT(" -R,--releaseid RELEASEID current obproxy kernel release id");
MPRINT(" -t,--regression_test TEST_NAME regression test");
MPRINT("example:");
MPRINT(" run without config server:");
MPRINT(" run without root service list:");
Copy link
Contributor

Choose a reason for hiding this comment

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

config server指的是OCP提供的服务,用OCP service应该更好理解

Copy link
Author

Choose a reason for hiding this comment

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

这里是描述写错了,下边151行还有一处run with config server

Copy link
Author

Choose a reason for hiding this comment

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

https://github.com/oceanbase/oceanbase/tree/master/tools/ob-configserver 从这个仓库来看是可自建config server的,下方调整为OCP service感觉有些局限

MPRINT(" ./bin/obproxy -p6789 -r'ip:port;ip:port' -n test -o enable_cluster_checkout=false,syslog_level=INFO");
MPRINT(" OR ./bin/obproxy -p6789 -r'ip:port;ip:port' -c 'ob_test' -n test -o syslog_level=INFO \n");
MPRINT(" run with config server:");
Expand Down