From 12d8ecb25410223ff9ae9db66a28efdf3172a4e5 Mon Sep 17 00:00:00 2001 From: travelliu Date: Tue, 15 Mar 2022 15:05:17 +0800 Subject: [PATCH] release(mtk): release 2.2.3 --- product/en/docs-mtk/v2.0/faqs.md | 4 +++- product/en/docs-mtk/v2.0/release-notes.md | 27 ++++++++++++++++++++++- product/zh/docs-mtk/v2.0/faqs.md | 2 +- product/zh/docs-mtk/v2.0/release-notes.md | 25 +++++++++++++++++++++ scripts/gitee_build_pr.sh | 21 ++++++++++++------ 5 files changed, 69 insertions(+), 10 deletions(-) diff --git a/product/en/docs-mtk/v2.0/faqs.md b/product/en/docs-mtk/v2.0/faqs.md index e32c98d3..ee44b031 100644 --- a/product/en/docs-mtk/v2.0/faqs.md +++ b/product/en/docs-mtk/v2.0/faqs.md @@ -10,7 +10,9 @@ date: 2021-09-14 ## Column length change? -Yes. The following scenarios exist. +Yes. Considering that other non-single-byte strings such as Chinese are subject to length changes due to inconsistent database encoding. + +The following scenarios exist. - The source database column type is character migration to byte type. The length of the field will be twice as long as the original. diff --git a/product/en/docs-mtk/v2.0/release-notes.md b/product/en/docs-mtk/v2.0/release-notes.md index bb72f4a2..e1537be5 100644 --- a/product/en/docs-mtk/v2.0/release-notes.md +++ b/product/en/docs-mtk/v2.0/release-notes.md @@ -7,6 +7,31 @@ date: 2021-09-13 # Release Notes +## v2.2.3 + +2022-03-15 + +- [mtk_2.2.3_darwin_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_amd64.tar.gz) +- [mtk_2.2.3_darwin_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_amd64_db2.tar.gz) +- [mtk_2.2.3_darwin_arm64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_arm64.tar.gz) +- [mtk_2.2.3_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_amd64.tar.gz) +- [mtk_2.2.3_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_amd64_db2.tar.gz) +- [mtk_2.2.3_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_arm64.tar.gz) +- [mtk_2.2.3_windows_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_windows_amd64.tar.gz) +- [mtk_2.2.3_windows_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_windows_amd64_db2.tar.gz) +- [mtk_checksums.txt](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_checksums.txt) + +### Feat + +- The subcommand `show-table-split` adds a `ora_hash` method for oracle databases +- Added the parameter [charAppendEmptyString](mtk-config#charappendemptystring) to resolve the ORA-29275 error +- Add the argument [clientCharset](mtk-config#clientcharset) +- Add the parameter [IgErrorData](mtk-config#igerrordata) + +### Fix + +- Fixed the issue of converting Oracle packages to openGauss syntax package names without deletion + ## v2.2.2 2022-03-01 @@ -52,7 +77,7 @@ date: 2021-09-13 ### Feat - Add command flags `disableFKCons` to support unsynchronized foreign key constraints -- Add the argument [autoAddMySQLAutoIncrTabList] (mtk-config#autoaddmysqlautoincrtablist) +- Add the argument [autoAddMySQLAutoIncrTabList](mtk-config#autoaddmysqlautoincrtablist) ### Fix diff --git a/product/zh/docs-mtk/v2.0/faqs.md b/product/zh/docs-mtk/v2.0/faqs.md index 014fda99..97039b57 100644 --- a/product/zh/docs-mtk/v2.0/faqs.md +++ b/product/zh/docs-mtk/v2.0/faqs.md @@ -10,7 +10,7 @@ date: 2021-09-14 ## 存在字段长度变化? -会. 主要存在以下场景. +会. 考虑到中文等其他非单字节字符串在数据库编码不一致下进行长度变化. 存在以下场景. - 源库列类型是字符迁移到字节型. 字段长度会变成原来的2倍. diff --git a/product/zh/docs-mtk/v2.0/release-notes.md b/product/zh/docs-mtk/v2.0/release-notes.md index 966d0f07..a4a6524e 100644 --- a/product/zh/docs-mtk/v2.0/release-notes.md +++ b/product/zh/docs-mtk/v2.0/release-notes.md @@ -7,6 +7,31 @@ date: 2021-09-17 # 发布记录 +## v2.2.3 + +2022-03-15 + +- [mtk_2.2.3_darwin_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_amd64.tar.gz) +- [mtk_2.2.3_darwin_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_amd64_db2.tar.gz) +- [mtk_2.2.3_darwin_arm64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_darwin_arm64.tar.gz) +- [mtk_2.2.3_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_amd64.tar.gz) +- [mtk_2.2.3_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_amd64_db2.tar.gz) +- [mtk_2.2.3_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_linux_arm64.tar.gz) +- [mtk_2.2.3_windows_amd64.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_windows_amd64.tar.gz) +- [mtk_2.2.3_windows_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_2.2.3_windows_amd64_db2.tar.gz) +- [mtk_checksums.txt](https://cdn-mogdb.enmotech.com//mtk/v2.2.3/mtk_checksums.txt) + +### Feat + +- 子命令 `show-table-split` 针对 Oracle 数据库添加 `ora_hash`方法 +- 添加参数 [charAppendEmptyString](mtk-config#charappendemptystring) 解决 ORA-29275 错误 +- 添加参数 [clientCharset](mtk-config#clientcharset) +- 添加参数 [IgErrorData](mtk-config#igerrordata) + +### Fix + +- 解决转化 Oracle package 到 openGauss 语法包名没有删除问题 + ## v2.2.2 2022-03-01 diff --git a/scripts/gitee_build_pr.sh b/scripts/gitee_build_pr.sh index 89c25e4e..a662137d 100755 --- a/scripts/gitee_build_pr.sh +++ b/scripts/gitee_build_pr.sh @@ -19,21 +19,24 @@ fi echo "giteePullRequestIid : ${giteePullRequestIid}" echo "giteeTargetBranch : ${giteeTargetBranch}" +# 删除文件 +rm -rf .cache +rm -rf public +mkdir public + +# 恢复文件 if [ ! -d ${publicDir} ];then if [[ ${giteeTargetBranch} == "master" ]]; then - rsync -rltgoD --delete /data/mogdb-docs ${publicDir} + rsync -rltgoD --delete /data/mogdb-docs/ public else echo "mogdb-beta-docs" - rsync -rltgoD --delete /data/mogdb-beta-docs ${publicDir} + rsync -rltgoD --delete /data/mogdb-beta-docs/ public fi +else + rsync -rltgoD --delete ${publicDir}/ public fi -# 删除文件 -rm -rf .cache -rm -rf public - mv ${cacheDir} .cache -ln -s ${publicDir} public node -v @@ -50,7 +53,10 @@ retCode=$? if [[ ${retCode} != 0 ]]; then exit 1 fi + +# 备份文件 mv .cache ${cacheDir} +rsync -rltgoD --delete public/ ${publicDir} if [ `docker ps -a |awk '{print $NF}' |grep "^${conName}$" | wc -l` -gt 0 ]; then docker rm -f ${conName} @@ -84,4 +90,5 @@ docker run -d \ --name ${conName} \ nginx + echo "${pr_port}" > ${pr_port_file} -- Gitee