You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2026/09/21 14:36:57 UTC
[PR] fix: decode remote schemas without caching after quota exhaustion [fory]
chaokunyang opened a new pull request, #4076:
URL: https://github.com/apache/fory/pull/4076
When remote schema caches reach their per-type, average-version, or logical-type limits, valid new schemas currently fail to deserialize. Treat those limits as retention limits across C++, C#, Dart, Go, Java, JavaScript, Python/Cython, Rust, and Swift: fully validate and decode overflow schemas without adding persistent metadata or derived serializer/layout entries. Existing cached and local-schema hits keep their fast paths.
Also advance Java MetaString reference IDs only after insertion succeeds, so exceeding the reference limit cannot break root cleanup and later instance reuse.
Validation:
- Runtime regression tests cover uncached overflow, bounded cache accounting, and cleanup/reuse; Java tests cover native/xlang and codegen on/off.
- C++ focused serialization tests, Go tests, Rust tests/clippy, C# tests, Swift tests, Dart tests/analyzer, Java core/focused tests, JavaScript tests, and Python/Cython tests passed. Python's initially invalid bare-registry fixture was corrected and its affected suite rerun in both modes.
- Java-driven cross-language matrix is running.
- NumericStruct and MediaContent performance comparisons in schema-consistent and compatible modes will follow PR creation; results are pending.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
Re: [PR] fix: decode remote schemas without caching after quota exhaustion [fory]
Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #4076:
URL: https://github.com/apache/fory/pull/4076
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org