2.0 RC1 vertexID 增加了对 Integer 类型的支持。
暂不支持 v1.x 升级至2.x,升级步骤正在测试中。。。
New Features
- vertexID 支持 Integer 类型,pr 参见:https://github.com/vesoft-inc/nebula-graph/pull/496、https://github.com/vesoft-inc/nebula-common/pull/351、https://github.com/vesoft-inc/nebula-storage/pull/246、https://github.com/vesoft-inc/nebula-docs/pull/264
-
FIND PATH
支持正向、反向和双向查找路径,pr 参见:https://github.com/vesoft-inc/nebula-graph/pull/464,支持去除环路,pr 参见:https://github.com/vesoft-inc/nebula-graph/pull/461 -
SHOW HOSTS graph/meta/storage
支持查看服务的相应版本,pr 参见:https://github.com/vesoft-inc/nebula-graph/pull/437、https://github.com/vesoft-inc/nebula-common/pull/325、https://github.com/vesoft-inc/nebula-storage/pull/223 -
BALANCE DATA RESET PLAN
支持 reset 上一个失败的计划 ,pr 参见:https://github.com/vesoft-inc/nebula-common/pull/342、https://github.com/vesoft-inc/nebula-storage/pull/232 - 支持更多
MATCH
用法,用法参见:https://docs.nebula-graph.io/2.0/3.ngql-guide/7.general-query-statements/2.match/ - 支持路径相关函数,pr 参见:https://github.com/vesoft-inc/nebula-common/pull/306、https://github.com/vesoft-inc/nebula-common/pull/358
Changelog
修改了 metad
, graphd
, storaged
服务的默认端口号,以减少端口号冲突,pr 参见:https://github.com/vesoft-inc/nebula-graph/pull/474、https://github.com/vesoft-inc/nebula-storage/pull/239
升级
注意:1.x 暂时不支持直接升到 2.x,v2.0.0-alpha / beta 升级:
- 首先停止所有机器的 Nebula 服务
- 在每一台机器执行 scripts/nebula.service stop all
- 然后通过执行 scripts/nebula.service status all 来确认进程已经退出
- 在每一台机器(根据系统环境)安装新的 rpm 包
- 获取 package:https://github.com/vesoft-inc/nebula-graph/releases/tag/v2.0.0-rc1
- 卸载原有 rpm 包:
rpm -e nebula-graph-2.0.0-alpha.el6.x86_64.rpm
- 安装 package,比如:
rpm -Uvh nebula-graph-2.0.0-rc1.el6.x86_64.rpm
- 启动 Nebula
- 所有机器执行
scripts/nebula.service start all
- 确认进程正常启动
scripts/nebula.service status all
- 所有机器执行
后,如果你在本次升级过程中遇到任何问题,欢迎前往板块:https://discuss.nebula-graph.com.cn/tag/v2-rc 提问