Closed Skqing closed 4 months ago
每10秒应该会输出一次异常栈信息,如果你找不到,那就只能用这个commit看看了,先自己打snapshot包。
java原生序列化也不是万能的,一个很常见的错误就是某个要序列化的类没有加serialVersionUID,然后又增删了字段,反序列化的时候就会报错。
有些是集合框架,或者封装类型也会报错,比较纳闷
private Cache<String, Map<Integer, Set<Integer>>> shopRelationshipCache;
private Cache<String, String>
private Cache<Integer, Integer>
看来还是按照您说的打snapshot包,把完整日志打印出来才行
有些是集合框架,或者封装类型也会报错,比较纳闷
private Cache<String, Map<Integer, Set<Integer>>> shopRelationshipCache; private Cache<String, String> private Cache<Integer, Integer>
看来还是按照您说的打snapshot包,把完整日志打印出来才行
请问你的问题通过查看日志解决了嘛? 我这里也是遇到这个问题,
我也是多个服务使用这个缓存框架, 一直好好的突然有个服务获取不到缓存了. 其他服务节点请求没有任何问题
我用的也是 redis.lettuce, 序列化是配置的Java序列化. 找不出原因. 想请教下你解决了嘛
版本
异常信息
根据配置,使用的序列化方式是Java,为什么还报GET错误呢? 并且最近一直使用的是这个版本,没有升级,已经不知道什么原因突然就发现报这样的异常了(多服务环境,一个缓存会被多个服务实例化)
参考: https://github.com/alibaba/jetcache/issues/690 https://github.com/alibaba/jetcache/issues/886