Hi everyone,
Currently, a lot of users hit ICEs and the like due to old metadata
versions sticking around. As I understand it, the eventual goal is to
move to a metadata format with a schema (Apache Avro). However, in the
meantime, I wonder if we can mitigate these problems for 0.4.
One possibility is simply to prepend the metadata with two words: a
metadata magic number and a version number. Each time the metadata
format is changed, the version number will be bumped. The Rust compiler
will bail out with an early error when confronted with a metadata
version it doesn't understand. When we migrate to Avro, the version
number will be bumped one final time.
Thoughts?
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev