You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/09/05 08:55:00 UTC

[GitHub] llx206 commented on issue #2179: Kryo serialization fails when the service is both a provider and a consumer(Help Help!!!!)

llx206 commented on issue #2179: Kryo serialization fails when the service is both a provider and a consumer(Help  Help!!!!)
URL: https://github.com/apache/incubator-dubbo/issues/2179#issuecomment-418653056
 
 
   
   非常感谢,我试一下看看!
   
   
   
   
   
   在 2018-09-05 02:10:57,"Muxin" <no...@github.com> 写道:
   
   
   建议你还是升级dubbo吧,因为在2.6.1版本中,创建KryoObjectInput这个的Kryo对象会把SerializableClassRegistry里的registrations里采用的是Set集合来缓存类,全都注册进Kryo对象中,所以导致在DefaultClassResolver里的idToRegistration无法和客户端idToRegistration无法对齐。
   在2.6.3里采用registrations用了Map<>来缓存类 了。
   
   —
   You are receiving this because you authored the thread.
   Reply to this email directly, view it on GitHub, or mute the thread.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org