Skip to content

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
@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.

2 participants