Breaking postcard
version updates cause unclear version mismatch error
#414
Labels
postcard
version updates cause unclear version mismatch error
#414
As seen in omicron#4414, upgrading the version of
postcard
from0.x -> 1.x
leads to mutual unintelligibility between OPTE 0.25 and 0.26. There is every possibility this could happen again in future: either via postcard 2.0, or we might choose another wire format.We can probably:
Error
impl that aDeserCmdErr
may well be an API version mismatch). The two main consumers here are opteadm and sled-agent, most likely.OpteCmdIoctl
struct:api_version
being the obvious one, or we could prepend a separate wire-format version. This would still cause another messy break in parse behaviour, so we'd need to combine it with some clarifiaction of the failure mode.The text was updated successfully, but these errors were encountered: