This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+10 more
Summary
AI summaryFixed data race in host status updates by replacing buffers with a single atomic field.
Full changelog
Fixed the data race when updating host status. There are no longer two buffers and a status pointer; instead, there's now a single atomic status field. Since it consists of just four bool values, it occupies only 4 bytes and is therefore lock-free.
The writer atomically updates the status of each host. Readers atomically load the status and can continue working with their local copy as long as needed. Atomic operations are now relaxed, since synchronization with non-atomic data is no longer required.
The only downside of this approach which I don't consider critical for this project is temporary inconsistency while the writer is updating all hosts: some hosts may already have the new data, while others still have the old data.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Pg-status
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]