[ TOPIC ]
consistency-models
17 real merged PRs across 9 projects, ordered easiest to hardest. Read them in order to see how consistency-models shows up in production code, then go deeper with the free papers and talks below.
[ 01 // REAL PRs ]
Next (mid) · 10
fix(ext/node): allow repeated child process signals
This PR teaches how to align process signal handling and child process lifecycle management with Node.js semantics, including careful error handling, state tracking, and robust testing for tricky edge cases.
Fix cross-tier JetStream consumer counting for limits
This PR teaches how to correctly enforce resource limits in a distributed system by distinguishing between global and per-tier quotas, and demonstrates how to write targeted tests for subtle multi-tenant accounting bugs.
Fix unloadable RDB when XSETID lowers entries_added
This PR teaches how to maintain internal consistency invariants in a distributed data structure, prevent subtle data corruption, and write regression tests for edge-case bugs.
ddl: preserve cloud storage mode across owner failover
This PR teaches how to persist and recover distributed job state (like cloud storage configuration) across failover, propagate state through multi-step workflows, and robustly test for regression in distributed systems.
fix(sync): correctly set operationState values on retry (#26530) (cherry-pick #28778 for 3.5)
This PR teaches how to robustly update nested Kubernetes CRD status fields using atomic JSON Patch operations to prevent stale state, and how to write regression tests to verify correct state transitions and field cleanup.
[FIXED] Preserve stream created time after recovery
This PR teaches how to maintain consistency between in-memory and persisted state across restarts, and how to write a regression test to guard against subtle state drift bugs.
fix: GRPCRoute health check ignores stale observedGeneration conditions (#28086)
This PR teaches how to correctly handle resource status consistency in distributed systems by filtering out stale status conditions based on observed generation, preventing incorrect health reporting during reconciliation lag.
DRA: block a dedicated allocation over a device's live persisted share
This PR teaches how to close subtle consistency gaps in resource allocation logic, especially when device sharing rules change dynamically, and how to write regression tests to prevent such bugs.
Make LMOVEM notifications consistent with LMOVE
This PR teaches how to identify and fix inconsistent API behavior with careful coordination of documentation, backward compatibility, and regression tests.
importinto: forbid importing into TTL-enabled tables
This PR teaches how to enforce safety checks to prevent data consistency issues by synchronously rejecting operations on tables with conflicting background jobs (TTL), and demonstrates robust testing to ensure such checks can't be bypassed.
Go deep (senior) · 7
Fix replica left as a sub-replica after a failover
This PR teaches how to robustly repair and test subtle consistency bugs in distributed systems, specifically preventing invalid replication chains after failover in Redis clusters.
Fix wrong `ORDER BY` results for `Merge` over `Distributed`
This PR teaches how distributed query engines must carefully preserve stream ordering to ensure correct results for ORDER BY and LIMIT, and how to write regression tests for subtle distributed query bugs.
[Fiber] Detect useSyncExternalStore mutations missed while Activity tree was hidden
This PR teaches how to ensure state consistency and correct subscription handling in complex UI frameworks when components are temporarily disconnected and reconnected, using robust effect management and regression testing.
planner: support TiFlash MPP full outer join
This PR demonstrates how to extend a distributed SQL planner to support full outer joins in MPP (Massively Parallel Processing) mode, including join type validation, plan enumeration, and serialization for execution engines like TiFlash.
Fix wrong results with parallel_hash JOIN and read-in-order-through-join
This PR teaches how to reason about and enforce data stream order preservation through different join algorithms to ensure correctness of downstream query optimizations that rely on sorted input.
Fix form status reset when component state is updated
This PR teaches how to fix subtle state consistency bugs in complex UI frameworks by carefully propagating context and writing targeted regression tests.
fix(runtime-vapor): preserve nested vdom slot content (fix #15303)
This PR demonstrates how to maintain correct slot content behavior and transition consistency when integrating two different rendering models (Vapor and VDOM) in a complex UI framework, including robust regression testing.
[ 02 // MUST-READ PAPERS ]
Free to read, ranked by citations.
- Conflict-Free Replicated Data TypesMarc Shapiro, Nuno Preguiça, Carlos Baquero · Lecture notes in computer science · 2011825 citationsfree PDF
- Highly Available Transactions: Virtues and Limitations (Extended Version)Peter D. Bailis, Aaron Davidson, Alan David Fekete · arXiv (Cornell University) · 201316 citationsfree PDF
[ 03 // FREE VIDEOS & TALKS ]
Ranked by views.
other topics
