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

Issue 25184 adding systemtable resource #25470

Merged
merged 23 commits into from
Jul 24, 2023

Conversation

jdotcms
Copy link
Contributor

@jdotcms jdotcms commented Jul 11, 2023

Adding the system table resource

@jdotcms jdotcms marked this pull request as ready for review July 11, 2023 22:14
Copy link
Contributor

@wezell wezell left a comment

Choose a reason for hiding this comment

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

Added some comments

Copy link
Contributor

@wezell wezell left a comment

Choose a reason for hiding this comment

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

Take a look, happy to discuss.

@Override
public void executeUpgrade() throws DotDataException, DotRuntimeException {

Try.of(()->new DotConnect().executeStatement("CREATE TABLE system_table ("
Copy link
Contributor

Choose a reason for hiding this comment

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

We should always add IF NOT EXISTS when adding tables, e.g. CREATE TABLE IF NOT EXISTS system_table

Copy link
Contributor

Choose a reason for hiding this comment

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

thinking about 2 nodes coming up up a cluster simultaneously.

@jdotcms jdotcms linked an issue Jul 21, 2023 that may be closed by this pull request
@wezell wezell merged commit cbed375 into master Jul 24, 2023
@wezell wezell deleted the issue-25184-adding-systemtable-resource branch July 24, 2023 14:06
manuelrojas added a commit that referenced this pull request Jan 12, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jan 12, 2024
* #25740 Fixing selected site

* #25470 Fixing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add db layer to our config to allow on-the-fly (no restart) configuration
4 participants