singlestore - memsql升级需要多长时间?
问题描述
我已经开始离线升级过程,将我的 MemSql 集群从 5.8 升级到 6.5,数据大小约为 300G,已经 5 小时了,但我失去了对集群的所有访问权限,也无法检查状态。
memsql-ops memsql-list 返回所有叶子和聚合器在线显示。但是,memsql> SHOW LEAVES; 返回空集,我的主聚合器自动转换为子聚合器,所以现在我没有任何主聚合器。
我无法对子聚合器执行任何命令(如 AGGREGATOR SET AS MASTER),它说“memsql 没有作为聚合器运行”,或者“memsql 节点没有运行”,并且 sql 查询返回“数据库 'xxx' 是不可用于查询,因为它正在等待主聚合器使其联机。运行 SHOW DATABASES EXTENDED ..."
还执行任何管理命令,如 memsql-ops restart 返回“作业无法运行,因为有 ID xxx 的 MemSql 升级意图正在进行中”
任何有关此的信息都会有所帮助,因为我无法在网上找到任何相关信息。
提前致谢...
解决方案
We debugged the issue in MemSQL public chat and it was found that the Master Agg was running an unsupported beta version of MemSQL (6.0.0) which prevented the upgrade and then corrupted the database post upgrade.
For future readers please audit that you are not running beta versions of MemSQL on production clusters. If you are, not only will upgrade likely break, but it may not be possible to recover your data on a non-beta cluster.
推荐阅读
- django-oscar - 我们如何使用 Django oscar 在注册表单中添加用户名字段
- java - Hibernate 不使用由视觉范式生成的 DAO 对象保存在数据库中
- javascript - 当我的树莓派通过 rc.local 启动时,如何运行我的 node.js 应用程序?
- java - 将 Jenkins 安装为 Windows 服务时出现错误“ID 为 'jenkins' 的服务已存在”
- javascript - 我想显示所有图像预览,但是每当我上传新图像时,旧图像就消失了
- javascript - Vue 状态更改应用于先前的焦点上下文
- android - 如何在 Android 自动化中选择多个元素
- regex - 删除 1 个正则表达式和 1 个字符串之间的文本
- algorithm - 使用步骤 1、2 或 3 计算到达第 n 级楼梯的总方式,但步骤 3 只能执行一次
- json - 如何在 Flutter 中解码 Gzip Http 响应?