HYPERFLEET-870 - docs: add ADR for eventual consistency on read path#133
HYPERFLEET-870 - docs: add ADR for eventual consistency on read path#133pnguyen44 wants to merge 1 commit intoopenshift-hyperfleet:mainfrom
Conversation
consistency on read path
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughA new Architecture Decision Record (ADR 0015) is added to document the decision to maintain eventual consistency for the HyperFleet API LIST/read path. The document describes the current behavior where COUNT and SELECT queries execute separately without a shared transaction, resulting in potential total count mismatches and pagination anomalies during concurrent operations. The ADR records the explicit decision to accept this eventual consistency rather than implement alternatives like transaction-wrapped reads or window function synchronization, and provides benchmark data comparing performance trade-offs between the approaches. Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Description
Documents the decision to accept eventual consistency on LIST endpoints rather than adding transactional guarantees between COUNT and SELECT queries.
jira ticket
Changes
Summary by CodeRabbit