Dubbo v2.6.3 Release Notes
Release Date: 2018-09-11 // over 5 years ago-
✨ Enhancements / Features
- 👌 Support implicit delivery of attachments from provider to consumer, #889
- 👌 Support inject Spring bean to SPI by bean type, #1837
- ➕ Add generic invoke and attachments support for http&hessian protocol, #1827
- 👍 Get the real methodname to support consistenthash for generic invoke, #1872
- ✂ Remove validation key from provider url on Consumer side, config depedently, #1386
- Introducing the Bootstrap module as a unified entry for Dubbo startup and resource destruction, #1665
- Open TCP_NODELAY on Netty 3, #1746
- Graceful shutdown optimization (unified to the lifecycle to Servlet or Spring), #1820, #2126
- Enable thread pool on Consumer side, #2013
- 👌 Support specify proxy type on provide side, #1873
- 👌 Support dbindex in redis, #1831
- ⬆️ Upgrade tomcat to 8.5.31, #1781
🛠 Bugfixes
- 📄 ExecutionDispatcher meet with user docs, #1089
- ✂ Remove side effects of Dubbo custom loggers on Netty logger, #1717
- 🛠 Fix isShutdown() judge of Dubbo biz threadpool always return true, #1426
- 🚑 Selection of invoker node under the critical condition of only two nodes, #1759
- 🚚 Listener cann't be removed during unsubscribe when use ZK as registry, #1792
- 📜 URL parsing problem when user filed contains '@', #1808
- Check null in CacheFilter to avoid NPE, #1828
- 🛠 Fix potential deadlock in DubboProtocol, #1836
- ⚡️ Restore the bug that attachment has not been updated in the RpcContext when the Dubbo built-in retry mechanism is triggered, #1453
🐎 Performance Tuning
- ChannelState branch prediction optimization. #1643
- ⚡️ Optimize AtomicPositiveInteger, less memory and compute cost, #348
- Introduce embeded Threadlocal to replace the JDK implementation, #1745
Hessian-lite
功能增强 / 新特性
- 支持从服务端到客户端的隐式attachments传递, #889
- 支持根据bean类型将spring bean注入SPI, #1837
- 增加对http&hessian协议的泛化调用和attachments支持, #1827
- 通过增加泛化调用的真实方法名获取来支持一致性哈希, #1872
- 移除消费者端的服务端校验key, #1386
- 引入 Bootstrap 作为Dubbo启动和资源销毁的统一入口, #1665
- 在Netty 3中打开TCP_NODELAY, #1746
- 优雅下线优化(统一Servlet和Spring的生命周期), #1820, #2126
- 增加消费者端的线程池支持, #2013
- 在服务端增加特定的代理类型, #1873
- 支持redis中的dbindex, #1831
- 升级tomcat到8.5.31, #1781
问题修复
- 📄 ExecutionDispatcher 行为符合文档描述用户文档, #1089
- 移除Netty日志环境中,Dubbo自定义日志的副作用, #1717
- 修复 isShutdown() 判断在Dubbo业务线程池中总是返回true的问题, #1426
- 在只有两个节点的临界条件下,invoker节点选择的问题, #1759
- 使用ZK作为注册中心时,监听器在取消订阅过程中无法被移除的问题, #1792
- URL中包含用户定义的'@'时的解析问题, #1808
- CacheFilter中的空值检查来避免空指针问题, #1828
- 修复DUbboProtocol中潜在的死锁问题, #1836
- 修复在Dubbo内建重试机制触发时,RpcContext中的attachment没有被更新的问题, #1453
性能调优
- ChannelState中的分支预测优化. #1643
- 优化AtomicPositiveInteger, 减少内存和计算消耗, #348
- 引入内建的Threadlocal 来替代JDK的实现, #1745
Hessian-lite