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

Use the default SolidCache::Record role #108

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Use the default SolidCache::Record role #108

merged 1 commit into from
Jan 4, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Dec 5, 2023

Don't let the ActiveRecord::Base role bleed into the SolidCache connections. This is a problem when the default role is :reading and the SolidCache connection does not have a value set.

@djmb djmb force-pushed the enforce-default-role branch 4 times, most recently from 3dbbb72 to 718146f Compare December 7, 2023 11:16
Don't let the ActiveRecord::Base role bleed into the SolidCache
connections. Also ensure that writes are not prevented.

We'll always set up the shard if configured as we may be pointing to the
default shard but with the wrong role and prevent writes setting.
@djmb djmb force-pushed the enforce-default-role branch from 718146f to 8cbf8c8 Compare December 7, 2023 11:22
@djmb djmb merged commit a025e33 into main Jan 4, 2024
20 checks passed
@djmb djmb deleted the enforce-default-role branch January 4, 2024 10:29
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.

1 participant