Skip to content

Conversation

@altmannmarcelo
Copy link
Collaborator

Force connection to set the default schema before attempting to create a cache. We use one single connection per host. During cache creation dry-run we enforce the default schema to be set, but During actual cache creation we do not. In case a client has more than one Readyset server, we will not execute the dry-run on the second server onwards. This will cause the cache creation to fail as the default schema is not set.

This commit forces the default schema to be set before attempting to create a cache.

Fixes: #31

Force connection to set the default schema before attempting to
create a cache. We use one single connection per host. During cache
creation dry-run we enforce the default schema to be set, but During
actual cache creation we do not. In case a client has more than one
Readyset server, we will not execute the dry-run on the second server
onwards. This will cause the cache creation to fail as the default
schema is not set.

This commit forces the default schema to be set before attempting to
create a cache.

Fixes: #31
@altmannmarcelo altmannmarcelo force-pushed the cache-creation-set-schema branch from 471e049 to 670e6ef Compare December 2, 2024 16:17
@altmannmarcelo altmannmarcelo merged commit 8b8fc2b into main Dec 2, 2024
4 checks passed
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.

Force create cache to use cache schema

3 participants