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

Feature: Read replica support #476

Merged
merged 27 commits into from
Jun 12, 2023
Merged

Feature: Read replica support #476

merged 27 commits into from
Jun 12, 2023

Conversation

a-alhusaini
Copy link
Contributor

This is the first step in handling #475. The next step is to create a mechanism that lets the adapter know about the reader/writer if they exist and decide which one to run based on the information provided to it.

I however, deem this a good milestone for a PR. This change is large and handling merge conflicts would be a pain. Better to PR it in step by step.

src/granite/base.cr Outdated Show resolved Hide resolved
src/granite/base.cr Show resolved Hide resolved
@crimson-knight
Copy link
Member

Great job so far :)

Let's keep the progress going!

@a-alhusaini a-alhusaini changed the title added variables for tracking time since last write Feature: Read replica support May 10, 2023
.env Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
spec/granite/connection_switching_spec.cr Outdated Show resolved Hide resolved
src/granite/connections.cr Show resolved Hide resolved
src/granite/table.cr Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
src/granite/querying.cr Show resolved Hide resolved
src/granite/querying.cr Show resolved Hide resolved
src/granite/querying.cr Show resolved Hide resolved
src/granite/querying.cr Show resolved Hide resolved
src/granite/querying.cr Show resolved Hide resolved
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.

4 participants