Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-run reinitdb #2112

Open
nocaway opened this issue Aug 20, 2019 · 0 comments
Open

Auto-run reinitdb #2112

nocaway opened this issue Aug 20, 2019 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Milestone

Comments

@nocaway
Copy link
Contributor

nocaway commented Aug 20, 2019

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.

@nocaway nocaway added kind/enhancement This is an enhancement of an existing feature area/ysql Yugabyte SQL (YSQL) labels Aug 20, 2019
@nocaway nocaway added this to the Future milestone Aug 20, 2019
@nocaway nocaway added this to To do in YSQL via automation Aug 20, 2019
@ndeodhar ndeodhar moved this from To do to Backlog in YSQL Aug 5, 2020
@yugabyte-ci yugabyte-ci added the priority/medium Medium priority issue label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
Status: No status
YSQL
  
Backlog
Development

No branches or pull requests

3 participants