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
yugabyted's ysql_hba_conf_csv and ysql_pg_conf_csv flag syntax changed in commit 96d6e2b to take curly braces. The syntax is not documented in the script nor in the docs. So I turned to old commits messages for a reference and found commits like 197d4c9 and d9b0de9 using the old syntax, such as
Starting yugabyted...
yugabyted crashed. For troubleshooting, contact us on https://www.yugabyte.com/slack or check our FAQ at https://docs.yugabyte.com/latest/faq/
Traceback (most recent call last):
File "./bin/yugabyted", line 4792, in run
args.func()
File "./bin/yugabyted", line 419, in start
self.start_processes()
File "./bin/yugabyted", line 1536, in start_processes
yb_tserver_cmd = self.get_tserver_cmd(common_gflags)
File "./bin/yugabyted", line 2148, in get_tserver_cmd
if ysql_pg_conf_csv_flag[0] == "'" and ysql_pg_conf_csv_flag[-1] == "'":
IndexError: string index out of range
A different issue can be opened for making the error message better, but at least document this somewhere such as reference/configuration/yugabyted.md. It's very unintuitive to put in curly braces.
Warning: Please confirm that this issue does not contain any sensitive information
I confirm this issue does not contain any sensitive information.
The text was updated successfully, but these errors were encountered:
I further realize that the change was only made to those specific flags but not others like vmodule, which logically should behave the same way. It seems to me the approach of only handling curly brace syntax for specific hand-picked flags is not ideal since those kinds of csv flags will come and go all the time, so you need to modify yugabyted every time.
Description
yugabyted's ysql_hba_conf_csv and ysql_pg_conf_csv flag syntax changed in commit 96d6e2b to take curly braces. The syntax is not documented in the script nor in the docs. So I turned to old commits messages for a reference and found commits like 197d4c9 and d9b0de9 using the old syntax, such as
and trying to copy that, got unhelpful error
A different issue can be opened for making the error message better, but at least document this somewhere such as
reference/configuration/yugabyted.md
. It's very unintuitive to put in curly braces.Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: