使用非空 KahaDB 从 ActiveMQ 5.4.2 升级到 ActiveMQ 5.5.0
再会!
我们在远程站点上遇到问题 AMQ-2736(https://issues.apache.org/jira/browse/AMQ-2736),并希望升级到 5.5.0 版本,以解决此问题。但是与远程站点的网络连接不稳定,其中一些站点上会有非空的 KahaDB。 5.5.0版本是否可以与5.4.2版本创建的数据库一起使用,我们可以简单地升级软件,还是必须在升级之前清空所有队列?
Good Day!
We have problem with issue AMQ-2736(https://issues.apache.org/jira/browse/AMQ-2736) on remote sites and wants to upgrade to 5.5.0 version, wich resolved this problem. But network connection with remote sites not stable and we will have non-empty KahaDB at some of them. Does 5.5.0 vesrion works with database created by 5.4.2 version and we can simply upgrade software or we must empty all queues before upgrade?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我从第一手经验中不知道这一点,但一位同事已经成功地将 ActiveMQ 5.5 用于从以前版本创建的 KahaDB。如果您确实想尝试一下,只需从版本 5.4.2 获取整个 dataDirectory 的文件系统副本,并将 5.5 安装指向 activemq.xml 配置中的该副本。
I do not know this from first hand experience, but a colleague has successfully used ActiveMQ 5.5 against a KahaDB created from a previous version. If you really want to try it out, just take a file system copy of the entire dataDirectory from version 5.4.2, and point your 5.5 installation to that copy within your activemq.xml configuration.
我尝试了 ActiveMQ 5.4.2 的最新 Fuse Message Broker 维护版本 - apache-activemq-5.4.2-fuse-02-00 - 它运行良好 - 所有“垃圾”文件都被删除,我们没有检测到任何消息丢失或损坏
I tried latest Fuse Message Broker maintenance release for ActiveMQ 5.4.2 - apache-activemq-5.4.2-fuse-02-00 - and it works good - all "trash" files are removed and we have not detected any message lost or corruption