Auto-run reinitdb #2112
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Projects
Milestone
Jira Link: DB-2314
Currenlty "yb_build reninitdb" is run manually and not a part of CMAKE. It'd be better if the following items are provided to auto-run reinitdb.
1- Add a version variable such as
#define YBC_REINITDB_VERSION 1
2- After compiling YugaByte software, CMAKE should compare the versions between source code and the existing catalog snapshot. If the versions are not match, CMAKE would run "reinitdb".
This above suggestion is to use CMAKE tool, but it can be done by any tools. For example, "yb-ctl" can also be used to trigger the "reinitdb" auto-run when cluster is created.
The text was updated successfully, but these errors were encountered: