内容纲要
概要描述
TDH 6.2.1 正式版包含的Inceptor版本为 8.0.1,含有一个已知问题:
- glk left join会出现左表join失败,导致查询结果不全。
Inceptor patch 8.0.1 > 8.0.2 可以修复此问题。
Patch下载:Patch-tdh6.2.1-inceptor-8.0.1-to-8.0.2.tar
详细说明
当您发现您的TDH 6.2.1环境出现该问题的时候,可以在确认Inceptor版本为 8.0.1后,安装此补丁。
一、确认Inceptor环境信息
该Patch只能用于TDH 6.2.1 正式版且没有换过包的环境,该环境下,Inceptor版本为8.0.1
可参见 查看TDH以及 Inceptor 版本信息,确认环境是否可以安装该patch.
- 若环境满足要求,则可以进行本补丁安装。参见第二步安装补丁。
- 若不确定环境是否满足安装要求,请将 imageTool 工具生成的 output.tar.gz 文件发给 星环科技售后技术支持中心,我们会协助您确认您环境的Inceptor版本信息。
本示例中,环境为 TDH 6.2.1 正式版,Inceptor版本为8.0.1,符合安装要求。Inceptor Server为 bryan1,Inceptor镜像 bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final
[root@bryan1 ~]# docker images |grep inceptor
bryan1:5000/transwarp/inceptor transwarp-6.2.1-final c3ca8172ac96 7 weeks ago 3.92GB
transwarp/inceptor transwarp-6.2.1-final c3ca8172ac96 7 weeks ago 3.92GB
bryan1:5000/transwarp/inceptor-gateway transwarp-6.2.1-final 50abdfb9e568 7 months ago 1.29GB
transwarp/inceptor-gateway transwarp-6.2.1-final 50abdfb9e568 7 months ago 1.29GB
[root@bryan1 ~]#
二、安装补丁
- 下载补丁文件,并上传到 Inceptor Server 服务器;
-
解压补丁文件,进入补丁目录:
[root@bryan1 patch]# tar zxvf Patch-tdh6.2.1-inceptor-8.0.1-to-8.0.2.tar.gz [root@bryan1 patch]# cd Patch-8.0.1-to-8.0.2/ [root@bryan1 Patch-8.0.1-to-8.0.2]#
-
配置
image.conf
文件,将 base_image & new_image 参数配置为当前TDH服务器的Inceptor的镜像,例如:base_image=bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final new_image=bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final
-
运行
buildImage.sh
脚本,安装补丁:[root@bryan1 Patch-8.0.1-to-8.0.2]# ./buildImage.sh 2020-01-21 14:08:49 INFO Check file: diff_file.tar.gz... 2020-01-21 14:08:49 INFO File: diff_file.tar.gz check successful 2020-01-21 14:08:49 INFO =======base image is :bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final===== 2020-01-21 14:08:49 INFO =======new image is :bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final======= Are you sure the name of base_image and target_image are right? [Y/n] y Yes Sending build context to Docker daemon 63.11MB Step 1/5 : FROM bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final ---> c3ca8172ac96 ...... Successfully built 0fc9b48bc340 Successfully tagged bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final Are you sure to push image:bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final ? [Y/n] y Yes The push refers to repository [bryan1:5000/transwarp/inceptor] ... f3a2a5dcc64d: Pushed a7873230c9b8: Layer already exists 5f70bf18a086: Layer already exists f64116beaa4b: Layer already exists transwarp-6.2.1-final: digest: sha256:f5127abf20ffb7d4f833c77fc81b653663b4b344e13ef1e68f63d8ef40ffb999 size: 16205
- 补丁安装成功。
三、重启 Inceptor 服务并验证
- 在Manager页面,重启Inceptor组件服务;
- 校验 Inceptor Image,已经生成了新的镜像:
[root@bryan1 Patch-8.0.1-to-8.0.2]# docker images |grep inceptor bryan1:5000/transwarp/inceptor transwarp-6.2.1-final 0fc9b48bc340 12 minutes ago 4GB transwarp/inceptor transwarp-6.2.1-final 0fc9b48bc340 12 minutes ago 4GB bryan1:5000/transwarp/inceptor transwarp-6.2.1-final-backup c3ca8172ac96 7 weeks ago 3.92GB transwarp/inceptor
c3ca8172ac96 7 weeks ago 3.92GB bryan1:5000/transwarp/inceptor-gateway transwarp-6.2.1-final 50abdfb9e568 7 months ago 1.29GB transwarp/inceptor-gateway transwarp-6.2.1-final 50abdfb9e568 7 months ago 1.29GB [root@bryan1 Patch-8.0.1-to-8.0.2]# //0fc9b48bc340为新的Inceptor镜像 - 重复第一步,imageTool检测到此时 Inceptor 组件版本为 8.0.2:
[root@bryan1 imageTool]# /bin/bash imageTool.sh bryan1:5000/transwarp/inceptor:transwarp-6.2.1-final [root@bryan1 imageTool]# more output/version.json {"imageVersion": "8.0.2", "patchtime": "Tue Dec 10 11:09:52 CST 2019", "originVersion": "8.0.1"}
其他信息
星环科技售后技术支持中心建议在没有安装过任何 Inceptor Patch 的 TDH 6.2.1 正式版上安装此 Inceptor 8.0.2补丁。