Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.2.0 release #578

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These introductions will help you go through you the key concepts and user detai

### Roadmap

MatrixOne v1.1.3 has been released, you can see [Release Notes](../../Release-Notes/v1.1.3.md) know more information.
MatrixOne v1.2.0 has been released, you can see [Release Notes](../../Release-Notes/v1.2.0.md) know more information.

For the long-term project roadmap, please refer to [MatrixOne roadmap](https://github.com/matrixorigin/matrixone/issues/613) for a more general overview.

Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Deploy/deploy-MatrixOne-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ mysql -h $(kubectl get svc/mo-tp-cn -n mo-hn -o jsonpath='{.spec.clusterIP}') -P
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 163
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Deploy/update-MatrixOne-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ According to the introduction in [MatrixOne Distributed Cluster Deployment](depl
root@master0 ~]# mysql -h $(kubectl get svc/mo-tp-cn -n mo-hn -o jsonpath='{.spec.clusterIP}') -P 6001 -uroot -p111
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 1005
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export SEATNUNNEL_HOME="/root/seatunnel"
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
```

2. Use the [mo_ctl](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Maintain/mo_ctl/) tool to import the MySQL DDL statements into MatrixOne directly. Execute the following command:
2. Use the [mo_ctl](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Maintain/mo_ctl/) tool to import the MySQL DDL statements into MatrixOne directly. Execute the following command:

```shell
mo_ctl sql /root/mysql.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ To test the SSL configuration, perform the following steps:
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne
Protocol version: 10
Connection: 127.0.0.1 via TCP/IP
Client characterset: utf8mb4
Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Develop/connect-mo/database-client-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Make sure you have already [installed and launched MatrixOne](../../Get-Started/

```
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1031
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne
Copyright (c) 2000, 2022, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ The PyMySQL is a pure-Python MySQL client library.

```
> python3 pymysql_connect_matrixone.py
Database version : 8.0.30-MatrixOne-v1.1.3
Database version : 8.0.30-MatrixOne-v1.2.0
```

## Using sqlalchemy connect to MatrixOne
Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Develop/export-data/select-into-outfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Make sure you have already [Deployed standalone MatrixOne](../../Get-Started/ins
If you install MatrixOne by `docker`, the directory is inside the docker image by default. To work with local directory, you need to bind a local directory to the container. In the following example, the local file system path `${local_data_path}/mo-data` is binded to the MatrixOne docker image, with a mapping to the `/mo-data` path. For more information, see [Docker Mount Volume tutorial](https://www.freecodecamp.org/news/docker-mount-volume-guide-how-to-mount-a-local-directory/).

```
sudo docker run --name <name> --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.1.3
sudo docker run --name <name> --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.2.0
```

### Steps
Expand Down
4 changes: 2 additions & 2 deletions docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ __Note__: A `csv`(comma-separated values) file is a delimited text file that use
### Example using `Load data` with `docker` version

If you install MatrixOne by `docker`, the file system is inside the docker image by default. To work with local directory, you need to bind a local directory to the container. In the following example, the local file system path `~/tmp/docker_loaddata_demo/` is binded to the MatrixOne docker image, with a mapping to the `/ssb-dbgen-path` path inside the docker.
We will walk you through the whole process of loading data with MatrixOne 1.1.3 docker version in this example.
We will walk you through the whole process of loading data with MatrixOne 1.2.0 docker version in this example.

1. Download the dataset file and store the data in *~/tmp/docker_loaddata_demo/*:

Expand All @@ -114,7 +114,7 @@ We will walk you through the whole process of loading data with MatrixOne 1.1.3
3. Use Docker to launch MatrixOne, and mount the directory *~/tmp/docker_loaddata_demo/* that stores data files to a directory in the container. The container directory is */sb-dbgen-path* as an example:

```
sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.1.3
sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.2.0
```

4. Connect to MatrixOne server:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ select * from tool;

## Constraints

MatrixOne 1.1.3 version already supports MySQL table creation statements, so you can smoothly migrate MySQL tables to MatrixOne. However, it should be noted that during the migration process, some keywords incompatible with MySQL, such as `engine=`, will be automatically ignored in MatrixOne and will not affect the migration of the table structure.
MatrixOne 1.2.0 version already supports MySQL table creation statements, so you can smoothly migrate MySQL tables to MatrixOne. However, it should be noted that during the migration process, some keywords incompatible with MySQL, such as `engine=`, will be automatically ignored in MatrixOne and will not affect the migration of the table structure.

However, it should be noted that although MatrixOne supports MySQL table creation statements, manual modification is still required if the migrated table contains incompatible data types, triggers, functions, or stored procedures. For more detailed compatibility information, see [MySQL Compatibility](../../../Overview/feature/mysql-compatibility.md).
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ GCC_VERSION="8.5.0"
CLANG_VERSION="13.0"
GO_VERSION="1.20"
MO_GIT_URL="https://github.com/matrixorigin/matrixone.git"
MO_DEFAULT_VERSION="v1.1.3"
MO_DEFAULT_VERSION="v1.2.0"
GOPROXY="https://goproxy.cn,direct"
STOP_INTERVAL="5"
START_INTERVAL="2"
Expand All @@ -200,7 +200,7 @@ Generally, the parameters that need to be adjusted are as follows:
````
mo_ctl set_conf MO_PATH="yourpath" # Set custom MatrixOne download path
mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" # For the problem of slow downloading from the original GitHub address, set image download address
mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # Set the version of MatrixOne downloaded
mo_ctl set_conf MO_DEFAULT_VERSION="v1.2.0" # Set the version of MatrixOne downloaded
mo_ctl set_conf MO_DEPLOY_MODE=git # Deployment Configuration
````

Expand All @@ -219,7 +219,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o
=== "Get the MatrixOne(Stable Version) code to build"

```
mo_ctl deploy v1.1.3
mo_ctl deploy v1.2.0
```

## Step 4: Launch MatrixOne server
Expand Down Expand Up @@ -256,7 +256,7 @@ root@VM-16-2-debian:~# mo_ctl connect
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,16 @@ The Debian11.1 version does not have MySQL Client installed by default, so it ne

```bash
mkdir -p /root/matrixone & cd /root/
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip
unzip -d matrixone/ mo-v1.1.3-linux-x86_64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip
unzip -d matrixone/ mo-v1.2.0-linux-x86_64.zip
```

Binary for ARM architecture system:

```bash
mkdir -p /root/matrixone & cd /root/
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip
unzip -d matrixone/ mo-v1.1.3-linux-arm64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip
unzip -d matrixone/ mo-v1.2.0-linux-arm64.zip
```

=== "**Downloading method 2: Using `curl` to install binary packages**"
Expand All @@ -114,21 +114,21 @@ The Debian11.1 version does not have MySQL Client installed by default, so it ne

```bash
mkdir -p /root/matrixone & cd /root/
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip
unzip -d matrixone/ mo-v1.1.3-linux-x86_64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip
unzip -d matrixone/ mo-v1.2.0-linux-x86_64.zip
```

Binary for ARM architecture system:

```bash
mkdir -p /root/matrixone & cd /root/
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip
unzip -d matrixone/ mo-v1.1.3-linux-arm64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip
unzip -d matrixone/ mo-v1.2.0-linux-arm64.zip
```

=== "**Downloading method 3: Go to the page and download**"

If you want a more intuitive way to download the page, go to the [version 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3), pull down to find the **Assets** column, and click the installation package *mo-v1.1.3-linux-x86_64.zip* or *mo-v1.1.3-linux-arm64.zip* can be downloaded.
If you want a more intuitive way to download the page, go to the [version 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0), pull down to find the **Assets** column, and click the installation package *mo-v1.2.0-linux-x86_64.zip* or *mo-v1.2.0-linux-arm64.zip* can be downloaded.

## Step 3: Install the mo_ctl tool

Expand All @@ -147,26 +147,26 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta
The parameters that need to be adjusted are as follows:

````
mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted
mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path
mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted
mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path
mo_ctl set_conf MO_DEPLOY_MODE=binary #Deployment Configuration
````

## Step 4: Launch MatrixOne server

Launch the MatrixOne service through the `mo_ctl start` command.

If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/`.
If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/yourpath/mo-v1.2.0-xx-xx/matrixone/logs/`.

```
root@VM-16-2-debian:~# mo_ctl start
2024-03-07 14:34:04.942 UTC+0800 [INFO] No mo-service is running
2024-03-07 14:34:04.998 UTC+0800 [INFO] Get conf succeeded: MO_DEPLOY_MODE="binary"
2024-03-07 14:34:05.024 UTC+0800 [INFO] GO memory limit(Mi): 14745
2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.1.3-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stderr-20240307_143405.log
2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.2.0-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stderr-20240307_143405.log
2024-03-07 14:34:05.137 UTC+0800 [INFO] Wait for 2 seconds
2024-03-07 14:34:07.261 UTC+0800 [INFO] At least one mo-service is running. Process info:
501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml
501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml
2024-03-07 14:34:07.284 UTC+0800 [INFO] List of pid(s):
27145
2024-03-07 14:34:07.308 UTC+0800 [INFO] Start succeeded
Expand All @@ -188,7 +188,7 @@ root@VM-16-2-debian:~# mo_ctl connect
2024-03-07 14:34:59.942 UTC+0800 [INFO] Ok, connecting for user ...
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 426
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ Create and run the container of MatrixOne

It will pull the image from Docker Hub if not exists. You can choose to pull the stable version image or the develop version image.

=== "Stable Version Image(1.1.3 version)"
=== "Stable Version Image(1.2.0 version)"

```bash
docker pull matrixorigin/matrixone:1.1.3
docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3
docker pull matrixorigin/matrixone:1.2.0
docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0
```

If you are using the network in mainland China, you can pull the MatrixOne stable version image on Alibaba Cloud:

```bash
docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3
docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3
docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0
docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0
```

=== "Develop Version Image"
Expand All @@ -102,7 +102,7 @@ It will pull the image from Docker Hub if not exists. You can choose to pull the
If your Docker version is lower than 20.10.18 or the Docker client and server versions are inconsistent, upgrading to the latest stable version before attempting is recommended. If you choose to proceed with the current versions, you need to add the parameter `--privileged=true` to the `docker run` command, as shown below:

```bash
docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3
docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0
```

!!! note
Expand Down Expand Up @@ -160,7 +160,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o
=== "Get the MatrixOne(Stable Version) code to build"

```
mo_ctl deploy v1.1.3
mo_ctl deploy v1.2.0
```

- Launch MatrixOne server
Expand Down Expand Up @@ -198,7 +198,7 @@ root@VM-16-2-debian:~# mo_ctl connect
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ GCC_VERSION="8.5.0"
CLANG_VERSION="13.0"
GO_VERSION="1.20"
MO_GIT_URL="https://github.com/matrixorigin/matrixone.git"
MO_DEFAULT_VERSION="v1.1.3"
MO_DEFAULT_VERSION="v1.2.0"
GOPROXY="https://goproxy.cn,direct"
STOP_INTERVAL="5"
START_INTERVAL="2"
Expand All @@ -186,7 +186,7 @@ Generally, the parameters that need to be adjusted are as follows:
````
mo_ctl set_conf MO_PATH="yourpath" # Set custom MatrixOne download path
mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" # For the problem of slow downloading from the original GitHub address, set image download address
mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # Set the version of MatrixOne downloaded
mo_ctl set_conf MO_DEFAULT_VERSION="v" # Set the version of MatrixOne downloaded
mo_ctl set_conf MO_DEPLOY_MODE=git # Deployment Configuration
````

Expand All @@ -205,7 +205,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o
=== "Get the MatrixOne(Stable Version) code to build"

```
mo_ctl deploy v1.1.3
mo_ctl deploy v1.2.0
```

## Step 4: Launch MatrixOne server
Expand Down Expand Up @@ -242,7 +242,7 @@ This command will invoke the MySQL Client tool to connect to the MatrixOne servi
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Expand Down
Loading
Loading