diff --git a/docs/cn/MatrixOne/Get-Started/install-standalone-matrixone.md b/docs/cn/MatrixOne/Get-Started/install-standalone-matrixone.md index b265ee057791eb5bbf5adb6594abc2c2ee784aaf..cac3b18bf6a9c3468c8963bb8e737352f0d4fddb 100644 --- a/docs/cn/MatrixOne/Get-Started/install-standalone-matrixone.md +++ b/docs/cn/MatrixOne/Get-Started/install-standalone-matrixone.md @@ -12,7 +12,7 @@ #### 1. 瀹夎閮ㄧ讲 Go 璇█鐜 -Go 璇█闇€瑕佸崌绾у埌 1.18 鐗堟湰銆� +Go 璇█闇€瑕佸崌绾у埌 1.19 鐗堟湰銆� #### 2. 鑾峰彇 MatrixOne 婧愮爜 @@ -120,7 +120,15 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.5.0 杩愯 Docker Hub 鏃堕渶瑕佽緭鍏ョ敤鎴峰悕鍜屽瘑鐮侊紝鑾峰彇鐢ㄦ埛鍚嶅拰瀵嗙爜鍙互鍙傝€冧笅涓€姝ラ - 杩炴帴 MatrixOne 鏈嶅姟 -#### 3. 杩炴帴 MatrixOne 鏈嶅姟 +#### 3. 鎸傝浇鏁版嵁锛堥€夊仛锛� + +濡傛灉浣犻渶瑕佽嚜瀹氫箟閰嶇疆鏂囦欢鎴栬€呮暟鎹洰褰曪紝鍙互鐩存帴鎸傝浇瀛樻斁鍦ㄦ湰鍦扮鐩樼殑鑷畾涔夐厤缃枃浠讹細 + +``` +docker run -d -p 6001:6001 -v ${path_name}/system_vars_config.toml:/system_vars_config.toml:ro -v ${path_name}/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +#### 4. 杩炴帴 MatrixOne 鏈嶅姟 褰撲綘瀹屾垚瀹夎 MatrixOne锛屼綘鍙互鍙傝€冧笅闈㈢殑绔犺妭锛岃繛鎺ュ埌 MatrixOne 鏈嶅姟鍣ㄣ€� @@ -128,4 +136,5 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.5.0 ## 鍙傝€冩枃妗� +鍗囩骇鐗堟湰锛屽弬瑙乕鍗囩骇鍗曟満鐗� MatrixOne](update-standalone-matrixone.md)銆� 甯歌鐨勫畨瑁呭拰閮ㄧ讲闂锛屽弬瑙乕瀹夎鍜岄儴缃插父瑙侀棶棰榏(../FAQs/deployment-faqs.md)銆� diff --git a/docs/cn/MatrixOne/Get-Started/update-standalone-matrixone.md b/docs/cn/MatrixOne/Get-Started/update-standalone-matrixone.md new file mode 100644 index 0000000000000000000000000000000000000000..64bb5bdfa9a7c0ee9c7a55681e429c402eec1ba6 --- /dev/null +++ b/docs/cn/MatrixOne/Get-Started/update-standalone-matrixone.md @@ -0,0 +1,212 @@ +# **鍗囩骇鍗曟満鐗� MatrixOne** + +MatrixOne 鍙互閫氳繃浠ヤ笅涓夌鏂规硶杩涜鍗囩骇锛� + +- <p><a href="#code_source_update">鏂规硶 1锛氫娇鐢ㄦ簮浠g爜杩涜鍗囩骇</a></p> +- <p><a href="#binary_packages_update">鏂规硶 2锛氫娇鐢ㄤ簩杩涘埗鍖呰繘琛屽崌绾�</a></p> +- <p><a href="#use_docker_update">鏂规硶 3锛氫娇鐢� Docker 杩涜鍗囩骇</a></p> + +- 濡傛灉浣犳槸浣跨敤*婧愪唬鐮佸畨瑁� MatrixOne* 鎴栭€氳繃*浜岃繘鍒跺寘瀹夎 MatrixOne*锛岄€夋嫨*浣跨敤婧愪唬鐮佽繘琛屽崌绾�*鎴�*浣跨敤浜岃繘鍒跺寘杩涜鍗囩骇*鍧囧彲锛屼簩鑰呮柟寮忎簰閫氥€� + +- 濡傛灉浣犳槸浣跨敤 *Docke 瀹夎 MatrixOne*锛岄偅涔堝搴旈€夋嫨*浣跨敤 Docker 杩涜鐗堟湰鍗囩骇*銆� + +!!! note + 鏈瘒鏂囨。鍗囩骇鎸囧鐨勫唴瀹逛粎閫傜敤浜� v0.5.0 鍗囩骇鑷虫洿楂橈紝涓嶉€傜敤浜� 0.4.0/0.3.0/0.2.0/0.1.0 鐗堟湰鍗囩骇鑷� 0.5.0 鐗堟湰銆� + +## 鍓嶆彁鏉′欢 + +- 浣犲凡瀹屾垚瀹夎 v0.5.0 鐗堟湰 MatrixOne銆� + +## <h2><a name="code_source_update">鏂规硶 1锛氫娇鐢ㄦ簮浠g爜杩涜鍗囩骇</a></h2> + +**鍦烘櫙绀轰緥**锛� + +- 鏈湴鍘� matrixone 鐩綍涓嬮渶瑕佷粠鐗堟湰 v0.5.0 鍗囩骇鍒� v0.5.1 +- 闇€瑕佸浠� *store* 鐩綍 + +### 1. 澶囦唤 *store* 鐩綍 + +``` +cd matrixone +ls +cp -r store ${path_name} +``` + +`${path_name}` 涓� *store* 鎵€鍦ㄧ殑澶囦唤璺緞銆� + +!!! note + 濡傛灉浣犱粠鏈惎鍔ㄨ繃 MatrxiOne 鏈嶅姟锛屽垯涓嶉渶瑕佹墽琛岃繖涓€姝ャ€� + +### 2. 鑾峰彇 MatrixOne v0.5.1 鐗堟湰浠g爜 + +``` +git pull https://github.com/matrixorigin/matrixone.git +git checkout 0.5.1 +``` + +### 3. 灏嗗凡澶囦唤鐨� *store* 鐩綍澶嶅埗鍥� matrixone 璺緞涓� + +``` +cp -r ${path_name} store +``` + +### 4. 杩愯缂栬瘧鏂囦欢 + +浣犲彲浠ヨ繍琛宍make debug`涓巂make clean`鎴栬€呭叾浠栦换浣昤Makefile`鏀寔鐨勫懡浠ゃ€� + +``` +make config +make build +``` + +### 5. 鍚姩 MatrixOne 鏈嶅姟 + +``` +./mo-server system_vars_config.toml +``` + +### 6. 杩炴帴 MatrixOne 鏈嶅姟 + +褰撲綘瀹屾垚鍗囩骇 MatrixOne锛屼綘鍙互鍙傝€冧笅闈㈢殑绔犺妭锛岃繛鎺ュ埌 MatrixOne 鏈嶅姟鍣ㄣ€� + +鍙傝[杩炴帴 MatrixOne 鏈嶅姟](connect-to-matrixone-server.md)銆� + +## <h2><a name="binary_packages_update">鏂规硶 2锛氫娇鐢ㄤ簩杩涘埗鍖呰繘琛屽崌绾�</a></h2> + +**鍦烘櫙绀轰緥**锛� + +- 鏈湴鍘� matrixone 鐩綍涓嬮渶瑕佷粠鐗堟湰 v0.5.0 鍗囩骇鍒� v0.5.1 + +- 闇€瑕佸浠� *store* 鐩綍 + +### 1. 澶囦唤 *store* 鐩綍 + +``` +cd matrixone +ls +cp -r store ${path_name} +``` + +`${path_name}` 涓� *store* 鎵€鍦ㄧ殑澶囦唤璺緞銆� + +!!! note + 濡傛灉浣犱粠鏈惎鍔ㄨ繃 MatrxiOne 鏈嶅姟锛屽垯涓嶉渶瑕佹墽琛岃繖涓€姝ャ€� + +### 2. 涓嬭浇浜岃繘鍒跺寘骞惰В鍘� + +- **Linux 鐜** + +```bash +wget https://github.com/matrixorigin/matrixone/releases/download/v0.5.0/mo-server-v0.5.1-linux-amd64.zip +unzip mo-server-v0.5.1-linux-amd64.zip +``` + +- **MacOS 鐜** + +```bash +wget https://github.com/matrixorigin/matrixone/releases/download/v0.5.0/mo-server-v0.5.1-darwin-x86_64.zip +unzip mo-server-v0.5.1-darwin-x86_64.zip +``` + +### 3. 瑕嗙洊 `mo-server`锛堥€夊仛锛� + +- 濡傛灉浣犳槸灏� v0.5.1 鐨勪簩杩涘埗鍖呬笅杞藉埌浜嗘柊鐨勮矾寰勪笅锛堜緥濡傦紝鏂扮殑璺緞涓� *0.5.1_path*锛夛紝閭d箞浣犲彧闇€瑕佷娇鐢� v0.5.1 浜岃繘鍒跺寘鍐呯殑 `mo-server` 瑕嗙洊 v0.5.0 浜岃繘鍒跺寘鍐呯殑 `mo-server`銆� + + ``` + cp -rf 0.5.1_path/matrixone/mo-server matrixone/mo-server + ``` + +- 濡傛灉浣犳槸灏� v0.5.1 鐨勪簩杩涘埗鍖呬笅杞藉埌浜嗗師鏈夌殑 matrxione 璺緞涓嬶紝鍒� `mo-server` 灏嗚嚜鍔ㄨ鐩栵紝浣犳棤闇€鍋氬叾浠栨搷浣溿€� + +### 4. 灏嗗凡澶囦唤鐨� *store* 鐩綍澶嶅埗鍥� matrixone 璺緞涓� + +``` +cp -r ${path_name} store +``` + +### 5. 鍚姩 MatrixOne 鏈嶅姟 + +``` +./mo-server system_vars_config.toml +``` + +### 6. 杩炴帴 MatrixOne 鏈嶅姟 + +褰撲綘瀹屾垚鍗囩骇 MatrixOne锛屼綘鍙互鍙傝€冧笅闈㈢殑绔犺妭锛岃繛鎺ュ埌 MatrixOne 鏈嶅姟鍣ㄣ€� + +鍙傝[杩炴帴 MatrixOne 鏈嶅姟](connect-to-matrixone-server.md)銆� + +## <h2><a name="use_docker_update">鏂规硶 3锛氫娇鐢� Docker 杩涜鍗囩骇</a></h2> + +濡傛灉浣犳棤闇€淇濈暀鍘嗗彶鏁版嵁锛岄偅涔堝彲浠ヤ娇鐢ㄤ互涓嬪懡浠ゅ皢浠� Docker Hub 涓笅杞� MatrixOne v0.5.1 鐗堟湰鐨勯暅鍍忋€� + +``` +docker ps +docker stop matrixone +docker rm matrixone +docker pull matrixorigin/matrixone:0.5.1 +docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.5.1 +``` + +濡傛灉浣犻渶瑕佷繚鐣欏巻鍙叉暟鎹紝璇峰弬鑰冧笅闈㈢殑鍦烘櫙绀轰緥锛� + +**鍦烘櫙绀轰緥**锛� + +- 宸蹭娇鐢� Docker 杩愯浜� v0.5.0鐗堟湰 MatrixOne + +- 鏈皢瀹瑰櫒璺緞鎸傝浇鍒版湰鍦扮鐩橈紝鍗囩骇鏃堕渶瑕佷繚鐣欏巻鍙叉暟鎹� + +### 1. 灏嗗鍣ㄤ腑鐨� *store* 鐩綍澶囦唤鍒板涓绘満 + +鈶� 鏌ヨ褰撳墠姝e湪杩愯鐨� Matrixone 鐨勫鍣紝妫€鏌� MatrixOne 鏄惁姝e湪杩愯锛屽鏋滄鍦ㄨ繍琛岋紝灏� MatrixOne 杩愯鍋滄銆� + +``` +docker ps +docker stop matrixone +``` + +鈶� 灏嗗綋鍓� Matrixone 瀹瑰櫒涓殑 *store* 鐩綍鎷疯礉鍒版湰鍦板浠借矾寰勪笅銆� + +``` +docker cp matrixone:/store ${path_name}/ +``` + +`${path_name}` 涓� *store* 鎵€鍦ㄧ殑澶囦唤璺緞銆� + +### 2. 鍒犻櫎 v0.5.0 鐗堟湰鐨� MatrixOne + +``` +docker rm matrixone +``` + +### 3. 涓嬭浇 v0.5.1 鐗堟湰 MatrixOne 闀滃儚 + +浣跨敤浠ヤ笅鍛戒护灏嗕粠 Docker Hub 涓笅杞� MatrixOne v0.5.1 鐗堟湰鐨勯暅鍍忋€� + +``` +docker pull matrixorigin/matrixone:0.5.1 +``` + +### 4. 鍚姩瀹瑰櫒锛屾寕杞� `/store` 鐩綍 + +鍚姩瀹瑰櫒锛屽皢 `/store` 鐩綍鎸傝浇鍒版湰鍦扮鐩樺凡澶囦唤濂界殑 *store* 鏂囦欢澶规墍鍦ㄧ殑浣嶇疆锛� + +``` +docker run -d -p 6001:6001 -v ~/tmp/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +濡傛灉闇€瑕佽嚜瀹氫箟閰嶇疆鏂囦欢锛屼篃鍙互鐩存帴鎸傝浇瀛樻斁鍦ㄦ湰鍦扮鐩樼殑鑷畾涔夐厤缃枃浠讹細 + +``` +docker run -d -p 6001:6001 -v ${path_name}/system_vars_config.toml:/system_vars_config.toml:ro -v ${path_name}/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +### 5. 杩炴帴 MatrixOne 鏈嶅姟 + +褰撲綘瀹屾垚瀹夎 MatrixOne锛屼綘鍙互鍙傝€冧笅闈㈢殑绔犺妭锛岃繛鎺ュ埌 MatrixOne 鏈嶅姟鍣ㄣ€� + +鍙傝[杩炴帴 MatrixOne 鏈嶅姟](connect-to-matrixone-server.md)銆� + +## 鍙傝€冩枃妗� + +甯歌鐨勫畨瑁呭拰閮ㄧ讲闂锛屽弬瑙乕瀹夎鍜岄儴缃插父瑙侀棶棰榏(../FAQs/deployment-faqs.md)銆� diff --git a/docs/cn/MatrixOne/Overview/whats-new.md b/docs/cn/MatrixOne/Overview/whats-new.md index c7c194fc8f0c5c98cdb2e0de696095a24ce27e1b..8e57328b27e37d3b186b28ac4f6e7ba2099d2e65 100644 --- a/docs/cn/MatrixOne/Overview/whats-new.md +++ b/docs/cn/MatrixOne/Overview/whats-new.md @@ -1,5 +1,5 @@ # **鏈€鏂板彂甯�** -MatrixOne鐨勬渶鏂扮増鏈负0.5.0锛屽彂甯冧簬2022骞�7鏈�18鏃ワ紝璇︽儏璇疯锛� +MatrixOne鐨勬渶鏂扮増鏈负0.5.1锛屽彂甯冧簬2022骞�8鏈�19鏃ワ紝璇︽儏璇疯锛� -* [v0.5.0 鍙戝竷鍏憡](../Release-Notes/v0.5.0.md) +* [v0.5.1 鍙戝竷鍏憡](../Release-Notes/v0.5.1.md) diff --git a/docs/cn/MatrixOne/Release-Notes/release-timeline.md b/docs/cn/MatrixOne/Release-Notes/release-timeline.md index b5c97f7222b282f8211b4060b788608fdfc345be..1aa28f0b8cb4ad05f237ddfc5ff38424bc53eac4 100644 --- a/docs/cn/MatrixOne/Release-Notes/release-timeline.md +++ b/docs/cn/MatrixOne/Release-Notes/release-timeline.md @@ -4,6 +4,7 @@ |**鐗堟湰** |**鍙戝竷鏃ユ湡**| |:---|:----| +|[v0.5.1](v0.5.1.md)| 2022/8/19 | |[v0.5.0](v0.5.0.md)| 2022/7/18 | |[v0.4.0](v0.4.0.md)| 2022/5/5 | |[v0.3.0](v0.3.0.md)| 2022/3/10| diff --git a/docs/cn/MatrixOne/Release-Notes/v0.5.1.md b/docs/cn/MatrixOne/Release-Notes/v0.5.1.md new file mode 100644 index 0000000000000000000000000000000000000000..5e3415acc5103e486395d3147457e6b1e81c232f --- /dev/null +++ b/docs/cn/MatrixOne/Release-Notes/v0.5.1.md @@ -0,0 +1,19 @@ +# **MatrixOne v0.5.1鍙戝竷鎶ュ憡** + +鐑儓绁濊春MatrixOne鐨� v0.5.1鐗堟湰姝e紡鍙戝竷锛佸湪杩欎釜鐗堟湰涓紝MatrixOne 瑙e喅浜嗕竴浜涙棩蹇楀洖鏀惧拰瀛樺偍鍨冨溇鏀堕泦锛圙C锛孏arbage Collection锛夐棶棰樸€� + +## 鍔熻兘浼樺寲 + +- 浼樺寲浜嗗洖鏀炬鏌ョ偣銆� #4214 +- 淇浜� block 鍜� index 鏂囦欢寮曠敤璁℃暟涓嶉噴鏀剧殑缂洪櫡闂銆� #4052 +- 淇浜嗘棩蹇楁湭婊℃椂閲嶆斁姝诲惊鐜殑缂洪櫡闂銆� #4051 + +淇杩欎簺閿欒鍚庯紝MatrixOne 瀹炰緥绋冲畾鎬у緱浠ユ彁鍗囥€� + +## 鐗堟湰鍗囩骇 + +濡傛灉浣犻渶瑕佸皢浣犵殑 MatrixOne 浠� v0.5.0 鍗囩骇鍒� v0.5.1锛屽叿浣撴搷浣滀俊鎭紝鍙傝[鍗囩骇鍗曟満鐗� MatrixOne](../Get-Started/update-standalone-matrixone.md)銆� + +## 鏇磋缁嗙殑鏇存柊鏃ュ織 + +<https://github.com/matrixorigin/matrixone/compare/v0.4.0...v0.5.1> diff --git a/docs/en/MatrixOne/Get-Started/install-standalone-matrixone.md b/docs/en/MatrixOne/Get-Started/install-standalone-matrixone.md index 34a6855b3f1a2f64dc9559547f99e7f72137b6ce..82c673a41e7880201546611dfc0f8f5364927da2 100644 --- a/docs/en/MatrixOne/Get-Started/install-standalone-matrixone.md +++ b/docs/en/MatrixOne/Get-Started/install-standalone-matrixone.md @@ -12,7 +12,7 @@ Recommended hardware specification: x86 CPU with 4 cores and 32GB memory, with C #### 1. Install Go as necessary dependancy -Go version 1.18 is required. +Go version 1.19 is required. #### 2. Get the MatrixOne code @@ -118,7 +118,15 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.5.0 For the information on the user name and password, see the next step - Connect to MatrixOne Server. -#### 3. Connect to MatrixOne Server +#### 3. Mount the data directory(Optional) + +To customize the configuration file, you can mount the custom configuration file stored on the local disk. + +``` +docker run -d -p 6001:6001 -v ${path_name}/system_vars_config.toml:/system_vars_config.toml:ro -v ${path_name}/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +#### 4. Connect to MatrixOne Server When you finish installing MatrixOne, you can refer to the section below to connect to the MatrixOne server. @@ -126,4 +134,5 @@ See [Connect to MatrixOne server](connect-to-matrixone-server.md). ## Reference -For more information on deployment锛宻ee[Deployment FAQs](../FAQs/deployment-faqs.md). +- For more information on update锛宻ee[Update Standalone MatrixOne](update-standalone-matrixone.md). +- For more information on deployment锛宻ee[Deployment FAQs](../FAQs/deployment-faqs.md). diff --git a/docs/en/MatrixOne/Get-Started/update-standalone-matrixone.md b/docs/en/MatrixOne/Get-Started/update-standalone-matrixone.md new file mode 100644 index 0000000000000000000000000000000000000000..43d3f8298039b98f19c22121b5cb67fc9d0649ea --- /dev/null +++ b/docs/en/MatrixOne/Get-Started/update-standalone-matrixone.md @@ -0,0 +1,215 @@ +# **Update Standalone MatrixOne** + +You can update the standalone MatrixOne version by 3 methods: + +- <p><a href="#code_source_update">Method 1: Updating from source</a></p> +- <p><a href="#binary_packages_update">Method 2: Using binary package to update</a></p> +- <p><a href="#use_docker_update">Method 3: Using Docker to update</a></p> + +- If MatrixOne is installed by using source code or by using a binary package, you can use source or binary to update MatrixOne's version. The two methods are the same. + +- If MatrixOne is installed with Docker, you can use Docker to update MatrixOne's version. + +!!! note + This document is only applicable to the v0.5.0 version updating. Not for v0.4.0/v0.3.0/v0.2.0/v0.1.0 update to v0.5.0 version. + +## Before You Start + +- MatrixOne v0.5.0 has been installed. + +## <h2><a name="code_source_update">Method 1: Updating from source</a></h2> + +**Scenario Example** : + +- The local Matrixone directory needs to be upgraded from v0.5.0 to v0.5.1. + +- The *store* directory needs to be backed up. + +### 1. Backup *store* + +``` +cd matrixone +ls +cp -r store ${path_name} +``` + +`${path_name}` indicates the backup path of *store*. + +!!! note + If you've never started MatrixOne, you don't need to do this step. + +### 2. Get the MatrixOne v0.5.1 code + +``` +git pull https://github.com/matrixorigin/matrixone.git +git checkout 0.5.1 +``` + +### 3. Copy the backed up *store* directory back to the MatrixOne directory + +``` +cp -r ${path_name} store +``` + +### 4. Run make + +You can run make debug, make clean, or anything else our Makefile offers. + +``` +make config +make build +``` + +### 5. Boot MatrixOne server + +``` +./mo-server system_vars_config.toml +``` + +### 6. Connect to MatrixOne Server + +When you finish installing MatrixOne, you can refer to the section below to connect to the MatrixOne server. + +See [Connect to MatrixOne server](connect-to-matrixone-server.md). + +## <h2><a name="binary_packages_update">Method 2: Using binary package to update</a></h2> + +**Scenario Example** : + +- The local Matrixone directory needs to be upgraded from v0.5.0 to v0.5.1. + +- The *store* directory needs to be backed up. + +### 1. Backup *store* + +``` +cd matrixone +ls +cp -r store ${path_name} +``` + +`${path_name}` indicates the backup path of *store*. + +!!! note + If you've never started MatrixOne, you don't need to do this step. + +### 2. Download binary packages and decompress + +- **Linux Environment** + +```bash +wget https://github.com/matrixorigin/matrixone/releases/download/v0.5.0/mo-server-v0.5.1-linux-amd64.zip +unzip mo-server-v0.5.1-linux-amd64.zip +``` + +- **MacOS Environment** + +```bash +wget https://github.com/matrixorigin/matrixone/releases/download/v0.5.0/mo-server-v0.5.1-darwin-x86_64.zip +unzip mo-server-v0.5.1-darwin-x86_64.zip +``` + +### 3. Cover `mo-server` (Optional) + +- If you are download the v0.5.1 binary package to a new path (for example, the new path is *0.5.1_path*), then you only need to use the `mo-server` in the v0.5.1 binary package to overwrite the `mo-server` in the v0.5.0 binary package. + + ``` + cp -rf 0.5.1_path/matrixone/mo-server matrixone/mo-server + ``` + +- If you download the V0.5.1 binary package to the current Matxione path, then the `mo-server` will be automatically covered, and you don't need to do anything else. + +### 4. Copy the backed up *store* directory back to the MatrixOne directory + +``` +cp -r ${path_name} store +``` + +### 5. Launch MatrixOne server + +``` +./mo-server system_vars_config.toml +``` + +### 6. Connect to MatrixOne Server + +When you finish installing MatrixOne, you can refer to the section below to connect to the MatrixOne server. + +See [Connect to MatrixOne server](connect-to-matrixone-server.md). + +## <h2><a name="use_docker_update">Method 3: Using Docker to update</a></h2> + +If you do not need to keep historical data, you can use the following command to download an image of MatrixOne V0.5.1 from Docker Hub. + +``` +docker ps +docker stop matrixone +docker rm matrixone +docker pull matrixorigin/matrixone:0.5.1 +docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.5.1 +``` + +If you need to keep historical data, please refer to the following scenario example: + +**Scenario Example** : + +- The v0.5.0 version of MatrixOne is runing by Docker. + +- The container path is not attached to the local disk, and historical data needs to be preserved before the upgrade. + +### 1.Back up the *store* directory in the container to the host + +鈶� Check the containers of the currently running Matrixone, and check whether the Matrixone is running. If the Matrixone is running, stop the Matrixone. + +``` +docker ps +docker stop matrixone +``` + +鈶� Copy the *store* directory from the current Matrixone container to the local backup path. + +``` +docker cp matrixone:/store ${path_name}/ +``` + +`${path_name}` indicates the backup path of *store*. + +### 2. Remove v0.5.0 version of MatrixOne + +``` +docker rm matrixone +``` + +### 3. Download the MatrixOne v0.5.1 image + +Use the following command to download the MatrixOne v0.5.1 image from Docker Hub. + +``` +docker pull matrixorigin/matrixone:0.5.1 +``` + +### 4. Run the container and mount the */store* directory + +Run the container and mount the '/store' directory to the location of the backed-up store folder on your local disk: + +``` +docker run -d -p 6001:6001 -v ~/tmp/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +To customize the configuration file, you can mount the custom configuration file stored on the local disk. + +``` +docker run -d -p 6001:6001 -v ${path_name}/system_vars_config.toml:/system_vars_config.toml:ro -v ${path_name}/store:/store:rw --name matrixone matrixorigin/matrixone:0.5.1 +``` + +For the information on the user name and password, see the next step - Connect to MatrixOne Server. + +### 5. Connect to MatrixOne Server + +When you finish installing MatrixOne, you can refer to the section below to connect to the MatrixOne server. + +See [Connect to MatrixOne server](connect-to-matrixone-server.md). + +## Reference + +For more information on deployment锛宻ee[Deployment FAQs](../FAQs/deployment-faqs.md). diff --git a/docs/en/MatrixOne/Overview/whats-new.md b/docs/en/MatrixOne/Overview/whats-new.md index 98f7fdaba9ab79b931f682dbc5ac7f9f70ef86de..63b95d472e8235feb96d0571ed3f551b0034fdf9 100644 --- a/docs/en/MatrixOne/Overview/whats-new.md +++ b/docs/en/MatrixOne/Overview/whats-new.md @@ -1,5 +1,5 @@ # **What's New** -The lastest version of MatrixOne is 0.5.0, releases on 18th July, 2022. See the following: +The lastest version of MatrixOne is 0.5.1, releases on 19th August, 2022. See the following: -* [v0.5.0 Release Notes](../Release-Notes/v0.5.0.md) +* [v0.5.1 Release Notes](../Release-Notes/v0.5.1.md) diff --git a/docs/en/MatrixOne/Release-Notes/release-timeline.md b/docs/en/MatrixOne/Release-Notes/release-timeline.md index 14869f11354ae88e26e9494cdefaf8078abb7641..c0f4ddb94ef614a4697c1c2b305d3d196e94928c 100644 --- a/docs/en/MatrixOne/Release-Notes/release-timeline.md +++ b/docs/en/MatrixOne/Release-Notes/release-timeline.md @@ -4,6 +4,7 @@ This document shows all the released MatrixOne versions in reverse chronological |**Version** |**Release Date**| |:---|:----| +|[v0.5.1](v0.5.1.md)| 2022/8/19 | |[v0.5.0](v0.5.0.md)| 2022/7/18 | |[v0.4.0](v0.4.0.md)| 2022/5/5 | |[v0.3.0](v0.3.0.md)| 2022/3/10| diff --git a/docs/en/MatrixOne/Release-Notes/v0.5.1.md b/docs/en/MatrixOne/Release-Notes/v0.5.1.md new file mode 100644 index 0000000000000000000000000000000000000000..8bb27498c1e845e9c9ece79980728ad0f8ba9113 --- /dev/null +++ b/docs/en/MatrixOne/Release-Notes/v0.5.1.md @@ -0,0 +1,26 @@ +# **MatrixOne v0.5.1 Release Notes** + +We are excited to announce MatrixOne 0.5.1 release. In this release, MatrixOne resolved some log replaying and storage Garbage Collection(GC) issues. + +## Docker + +``` +docker pull matrixorigin/matrixone:0.5.1 +``` + +## Function Optimize + +- Optimize checkpoint in replay. #4214 +- Fix the bug that block and index file reference count is not released. #4052 +- Fix the bug that replay dead loop when the log is not full. #4051 + +These bugs lead to some stability issues of a MatrixOne instance. + +## Version Upgrade + +If you need to upgrade your MatrixOne from v0.5.0 to v0.5.1, +for more details, see[Update Standalone MatrixOne](../Get-Started/update-standalone-matrixone.md)銆� + +## Full Changelog + +<https://github.com/matrixorigin/matrixone/compare/v0.4.0...v0.5.1>