During a rolling upgrade, old and new nodes of a cluster exchange messages while their types change. Old code cannot learn a new shape, so in tellus the new code bridges both ways: it upcasts what old nodes send, and it downcasts what it sends to them.
My latest blog post shows how that looks in code, with the Schema trait and the cluster demo's Pong, which changed shape between two versions of the demo application:
It also covers why Vec<Pong> is no Schema, and how the demo's verifier checks every step of a roll. I'm looking forward to your comments.
2 posts - 2 participants


