Skip to content

fix(DB replication): Prevent replica lag issues in SDK views#6009

Merged
emyller merged 22 commits intomainfrom
feat/explicit-replica-database-routing
Sep 5, 2025
Merged

fix(DB replication): Prevent replica lag issues in SDK views#6009
emyller merged 22 commits intomainfrom
feat/explicit-replica-database-routing

Conversation

@emyller
Copy link
Copy Markdown
Contributor

@emyller emyller commented Sep 2, 2025

Contributes to #5814.

Leverage the new using_database_replica utility to delegate load to replicas explicitly rather than automatically via a router.

Unrelated changes necessary to fix coverage errors (see commits):

@github-actions github-actions Bot added api Issue related to the REST API fix labels Sep 2, 2025
Comment thread api/features/views.py Fixed
@emyller emyller self-assigned this Sep 2, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from fba4764 to fa6f4d6 Compare September 2, 2025 16:08
@github-actions github-actions Bot added fix and removed fix labels Sep 2, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Sep 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
docs Ignored Ignored Preview Sep 4, 2025 11:21pm
flagsmith-frontend-preview Ignored Ignored Preview Sep 4, 2025 11:21pm
flagsmith-frontend-staging Ignored Ignored Preview Sep 4, 2025 11:21pm

@github-actions github-actions Bot added fix and removed fix labels Sep 2, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from bbfba6d to 173a767 Compare September 2, 2025 17:28
@github-actions github-actions Bot added fix and removed fix labels Sep 2, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from ea3f0c2 to a31db62 Compare September 2, 2025 18:10
@github-actions github-actions Bot added fix and removed fix labels Sep 2, 2025
@github-actions github-actions Bot added fix and removed fix labels Sep 4, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from 573c1c4 to dd45518 Compare September 4, 2025 15:51
@github-actions github-actions Bot added fix and removed fix labels Sep 4, 2025
@github-actions github-actions Bot removed the fix label Sep 4, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from 08067d5 to 15ac369 Compare September 4, 2025 17:10
@github-actions github-actions Bot added fix and removed fix labels Sep 4, 2025
matthewelwell
matthewelwell previously approved these changes Sep 4, 2025
@emyller emyller force-pushed the feat/explicit-replica-database-routing branch from 15ac369 to f25772e Compare September 4, 2025 17:22
matthewelwell
matthewelwell previously approved these changes Sep 4, 2025
Copy link
Copy Markdown
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work improving coverage. Feel free to resolve my nits without acting on them.

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

Labels

api Issue related to the REST API fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix /api/v1/flags/{identifier}

4 participants