You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
The gflags for enabling YSQL can be named better: `--enable_ysql`. For
yb-master, introduce this new flag to behave like
`--use_initial_sys_catalog_snapshot`. For yb-tserver, introduce this new flag
to behave like `--start_pgsql_proxy`. Set the new flag to false by default for
both master and tserver.
Test Plan:
* Check for existence of postgres processes:
* `./bin/yb-ctl create`
* `./bin/yb-ctl create --enable_ysql`
* `./bin/yb-ctl create --master_flags "enable_ysql=false"
--tserver_flags "enable_ysql=false"`
* `./bin/yb-ctl create --master_flags "enable_ysql=true"
--tserver_flags "enable_ysql=true"`
* `./bin/yb-ctl create --master_flags
"enable_ysql=false,use_initial_sys_catalog_snapshot=true"
--tserver_flags "enable_ysql=false,start_pgsql_proxy=true"`
* `./bin/yb-ctl create --master_flags
"enable_ysql=true,use_initial_sys_catalog_snapshot=false"
--tserver_flags "enable_ysql=true,start_pgsql_proxy=false"`
* `./bin/yb-ctl create --master_flags
"enable_ysql=true,use_initial_sys_catalog_snapshot=true"
--tserver_flags "enable_ysql=true,start_pgsql_proxy=true"`
* Check for non-existence of postgres processes:
* `./bin/yb-ctl create --disable_ysql`
* `./bin/yb-ctl create --master_flags
"use_initial_sys_catalog_snapshot=false" --tserver_flags
"start_pgsql_proxy=false"`
* `./bin/yb-ctl create --master_flags
"enable_ysql=false,use_initial_sys_catalog_snapshot=false"
--tserver_flags "enable_ysql=false,start_pgsql_proxy=false"`
* `./build/latest/tests-pgwrapper/pg_wrapper-test`
* `cd java && mvn test -Dtest=org.yb.pgsql.TestPgInsert`
Reviewers: bogdan, mihnea, neha
Reviewed By: neha
Subscribers: kannan, neha, yql
Differential Revision: https://phabricator.dev.yugabyte.com/D6870
• Deprecate yb-tserver gflag
--start_pgsql_proxy
in favor of a new--enable_ysql
gflag.• Deprecate yb-master gflag
--use_initial_sys_catalog_snapshot
in favor of a new--enable_ysql
gflag.The text was updated successfully, but these errors were encountered: