Ultrabug created AVRO-3237:
------------------------------
Summary: Deserialization errors only on release build
Key: AVRO-3237
URL: https://issues.apache.org/jira/browse/AVRO-3237
Project: Apache Avro
Issue Type: Bug
Components: rust
Reporter: Ultrabug
Hi,
I'm trying to find out why I'm getting {{ConvertToUtf8}} and
{{ConvertI64ToUsize}} [deserialization errors when running in release mode
while I'm not getting them on debug
mode|https://github.com/gklijs/schema_registry_converter/discussions/64].
Example error on release mode only:
{{SRCError \{ error: "Could not transform bytes using schema", cause:
Some("Cannot convert i64 to usize: -53"), retriable: false, cached: false }}}
{{}}
For now, I pinned down the fact that if I disable optimizations in the release
profile, the errors go away:
{{[profile.release]
opt-level = 0}}
Does that ring a bell to anyone?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)