Backwards compatibility for time using msgpack encoding and decoding
Closed this issue · 4 comments
Trial97 commented
Can you please recommend some backwards compatibility :
If you encode the time in a version before the commit 5a66da2, how can we decode it in the commits after it? The used encoder is msgpack.
The error is : Error executing command: msgpack decode error [pos 131]: invalid length of bytes for decoding time - expecting 4 or 8 or 12, got 15
Trial97 commented
Sorry for the inconveniences the commit that the change happened is: debb8e2, not the one mentioned before.
Trial97 commented
That flag is only to migrate the data?
ugorji commented
This the best I can do.
You might have to read with one handle configured one way, and write back out with another handle configured the other way. This allows you migrate.