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

Guard database create to avoid partially initialised storage being created #9951

Open
wants to merge 1 commit into
base: 3.1.x
Choose a base branch
from

Conversation

timw
Copy link
Contributor

@timw timw commented Mar 27, 2023

What does this PR do?

If the plugin isn't online, initialisation of newly created database will fail, resulting in a partially initialised database that will break when used (usually because the schema hasn't been loaded).

Related issues

Separated out from #9854

…eated.

If the plugin isn't online, initialisation of newly created database will fail, resulting in a partially initialised database that will break when used (usually because the schema hasn't been loaded).
@timw
Copy link
Contributor Author

timw commented Mar 28, 2023

This depends on #9956 - will rebase once that's merged - and part of 3b88eca (which factors out isDistributedEnabled and reimplements the check for whether the server is in distributed mode).
@tglman - are you happy for me to drag in 3b88eca on this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant