zsewasdsdsd opened a new pull request, #16507:
URL: https://github.com/apache/dubbo/pull/16507
Fixes #16502.
## What is the purpose of the change?
Fix incorrect cached results caused by ambiguous argument keys. Previously,
`("a,b", "c")` and `("a", "b,c")` could generate the same cache key.
## Brief changelog
- Use type-aware, length-prefixed argument encoding in `CacheFilter`.
- Distinguish null values, empty strings, and comma-containing arguments.
- Add parameterized regression tests for LRU, JCache, ThreadLocal, and
Expiring caches.
- Account for LRU-2's two-write admission behavior.
## Verifying this change
Validated against Dubbo 3.3 on Windows using Java 21.
- Tests run: 28
- Failures: 0
- Errors: 0
- Skipped: 0
- BUILD SUCCESS
Spotless formatting checks passed.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]