Story

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

TechHacker NewsFiled 38 h ago

Rolling upgrades in tellus: old code cannot learn a new shape

Open the sourceReported by Hacker News, heikoseeberger.de, 30 November 2026

Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.

Tellus 0.6 introduced per-payload schema versioning to handle rolling upgrades, addressing an issue raised by cosmir17 about what happens when a message type changes mid-upgrade. Because the framework's postcard encoding writes values without field names, old nodes can silently misread new message shapes—for example, decoding a u32 value of 7 as an i32 of -4. The new `cluster::Schema` trait attaches a schema version to every payload and defaults to rejecting mismatched versions as dead letters rather than accepting wrong values, while new code must handle both upcasts from old shapes and downcasts to peers still running the old version. Nodes announce their application's semantic version on connection so senders know which shape each peer expects. The demo's Pong message illustrates the approach, with a bumped version marking its added field. What to watch next: whether other actor frameworks adopt similar per-message versioning, and how the dead-letter path performs under real upgrade traffic.

Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.

Named in this story

tellus, cosmir17, postcard