Skip to content

Commit ffd596b

Browse files
committed
5.4.15-16724034 release
1 parent 4f946d5 commit ffd596b

File tree

23 files changed

+139
-94
lines changed

23 files changed

+139
-94
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Let's use an example to walk through the list.
2222

2323
### Fork Your Own Branch
2424

25-
There are many PolarDB-X related repositories, take ApasaraDB GalaxySQL and ApasaraDB GalaxyGlue for an example. On Github page of [GalaxySQL](https://github.com/apsaradb/galaxysql) and [GalaxyGlue](https://github.com/apsaradb/galaxyglue), Click **fork** button to create your own galaxysql and galaxyglue repository.
25+
There are many PolarDB-X related repositories, take PolarDB-X SQL and PolarDB-X Glue for an example. On Github page of [PolarDB-X SQL](https://github.com/polardb/polardbx-sql) and [PolarDB-X Glue](https://github.com/polardbx/polardbx-glue), Click **fork** button to create your own polardbx-sql and polardbx-glue repository.
2626

2727
### Create Local Repository
2828
```bash
29-
git clone --recursive https://github.com/your_github/galaxysql.git
29+
git clone --recursive https://github.com/your_github/polardbx-sql.git
3030
```
3131
### Create a dev Branch (named as your_github_id_feature_name)
3232
```bash
@@ -50,7 +50,7 @@ git push --recurse-submodules=on-demand origin your_github_id_feature_name
5050
```
5151

5252
### Create a PR
53-
Click **New pull request** or **Compare & pull request** button, choose to compare branches apsaradb/galaxysql and your_github/your_github_id_feature_name, and write PR description.
53+
Click **New pull request** or **Compare & pull request** button, choose to compare branches polardb/polardbx-sql/main and your_github/your_github_id_feature_name, and write PR description.
5454

5555
### Address Reviewers' Comments
5656
Resolve all problems raised by reviewers and update PR.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ApsaraDB GalaxySQL
1+
PolarDB-X SQL
22

33
Copyright [2013-2021], Alibaba Group Holding Limited
44

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
[![LICENSE](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://github.com/ApsaraDB/galaxysql/blob/main/LICENSE)
2+
[![LICENSE](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://github.com/polardb/polardbx-sql/blob/main/LICENSE)
33
[![Language](https://img.shields.io/badge/Language-Java-blue.svg)](https://www.java.com/)
44

55
[中文文档](https://polardbx.com)
@@ -56,7 +56,7 @@ See the [PXD Quick Start](docs/en/quickstart.md).
5656
### To quick start with PolarDB-X on Kubernetes
5757
PolarDB-X provides K8S deployment mode, through which you can customize the configuration of PolarDB-X cluster.
5858

59-
See the [K8S Quick Start](https://github.com/ApsaraDB/galaxykube#quick-start).
59+
See the [K8S Quick Start](https://github.com/polardb/polardbx-operator#quick-start).
6060

6161
### To start developing PolarDB-X
6262
If you want to compile and install PolarDB-X from source code, or start development, you can refer the [Development Guide](docs/en/quickstart-development.md).
@@ -89,22 +89,22 @@ The CDC Node provides change data capture capability that is fully compatible wi
8989

9090
PolarDB-X provides tool to manage the above components through K8S Operator, and the RPC between the CN and DN can be done through private protocol component. The corresponding repositories of these components are as follows.
9191

92-
| **Component Name** | **Repository** | **Version** |
93-
|---------------------------| --- |---|
94-
| CN (Compute Node) | [galaxysql](https://github.com/ApsaraDB/galaxysql) | v5.4.13-16615127 |
95-
| GMS (Global Meta Service) | [galaxyengine](https://github.com/ApsaraDB/galaxyengine) | v1.0.2 |
96-
| DN (Data Node) | [galaxyengine](https://github.com/ApsaraDB/galaxyengine) | v1.0.2 |
97-
| CDC (Change Data Capture) | [galaxycdc](https://github.com/ApsaraDB/galaxycdc) | v5.4.13 |
98-
| RPC | [galaxyglue](https://github.com/ApsaraDB/galaxyglue) | v5.4.13-16615127 |
99-
| K8S Operator | [galaxykube](https://github.com/ApsaraDB/galaxykube) | v1.2.2 |
92+
| **Component Name** | **Repository** | **Version** |
93+
|---------------------------|-------------------------------------------------------------------|---|
94+
| CN (Compute Node) | [polardbx-sql](https://github.com/polardb/polardbx-sql) | v5.4.13-16615127 |
95+
| GMS (Global Meta Service) | [polardbx-engine](https://github.com/polardb/polardbx-engine) | v1.0.2 |
96+
| DN (Data Node) | [polardbx-engine](https://github.com/polardb/polardbx-engine) | v1.0.2 |
97+
| CDC (Change Data Capture) | [polardbx-cdc](https://github.com/polardb/polardbx-cdc) | v5.4.13 |
98+
| RPC | [polardbx-glue](https://github.com/polardb/polardbx-glue) | v5.4.13-16615127 |
99+
| K8S Operator | [polardbx-operator](https://github.com/polardb/polardbx-operator) | v1.2.2 |
100100

101101

102-
## What is ApsaraDB GalaxySQL
103-
ApsaraDB GalaxySQL is one component of PolarDB-X, namely CN (Compute Node).
102+
## What is PolarDB-X SQL
103+
PolarDB-X SQL is one component of PolarDB-X, namely CN (Compute Node).
104104

105105

106106
## Licensing
107-
ApsaraDB GalaxySQL is under the Apache License 2.0. See the [License](LICENSE) file for details.
107+
PolarDB-X SQL is under the Apache License 2.0. See the [License](LICENSE) file for details.
108108

109109

110110
## Contributing
@@ -122,4 +122,4 @@ You can join these groups and chats to discuss and ask PolarDB-X related questio
122122

123123

124124
## Acknowledgements
125-
ApsaraDB GalaxySQL references from many open source projects, such as Calcite, Presto etc. Sincere thanks to these projects and contributors.
125+
PolarDB-X SQL references from many open source projects, such as Calcite, Presto etc. Sincere thanks to these projects and contributors.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM polardbx/galaxybasejava:20221027-sdfa
1+
FROM polardbx/polardbxbasejava:20221129
22

33
WORKDIR /home/admin
44

docker/entrypoint.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
GALAXYSQL_HOME=/home/admin/drds-server
17+
POLARDBX_SQL_HOME=/home/admin/drds-server
1818

19-
function galaxysql_pid() {
20-
ps auxf | grep java | grep TddlLauncher | awk '{print $2}'
19+
function polardbx_sql_pid() {
20+
jps | grep Tddl | cut -d ' ' -f 1
2121
}
2222

2323
function kill_and_clean() {
2424
local pid
25-
pid=$(galaxysql_pid)
25+
pid=$(polardbx_sql_pid)
2626
if [ -n "$pid" ]; then
2727
kill -9 "$pid"
2828
fi
29-
rm -f $GALAXYSQL_HOME/bin/*.pid
29+
rm -f $POLARDBX_SQL_HOME/bin/*.pid
3030
}
3131

3232
function prepare() {
@@ -36,12 +36,12 @@ function prepare() {
3636
}
3737

3838
function start_process() {
39-
$GALAXYSQL_HOME/bin/startup.sh -w wisp -D
39+
$POLARDBX_SQL_HOME/bin/startup.sh -D
4040
}
4141

4242
last_pid=0
4343
function report_pid() {
44-
pid=$(galaxysql_pid)
44+
pid=$(polardbx_sql_pid)
4545
if [ -z "$pid" ]; then
4646
echo "Process dead. Exit."
4747
last_pid=0

docker_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ esac
1515
BASE=${bin_abs_path}
1616

1717
cd $BASE/ && mvn -DskipTests clean package install
18-
docker build -f docker/Dockerfile -t polardbx/galaxysql $BASE/
18+
docker build -f docker/Dockerfile -t polardbx/polardbx-sql $BASE/

docs/en/quickstart-development.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ This document explains the development process of PolarDB-X, covering code compi
88

99
On your computer, get the source code of PolarDB-X from github repositories:
1010

11-
[GalaxyEngine](https://github.com/ApsaraDB/galaxyengine)
11+
[PolarDB-X Engine](https://github.com/polardb/polardbx-engine)
1212

13-
[GalaxySQL](https://github.com/ApsaraDB/galaxysql)
13+
[PolarDB-X SQL](https://github.com/polardb/polardbx-sql)
1414

15-
[GalaxyGlue](https://github.com/ApsaraDB/galaxyglue)
15+
[PolarDB-X Glue](https://github.com/polardb/polardbx-glue)
1616

17-
[GalaxyCDC](https://github.com/ApsaraDB/galaxycdc)
17+
[PolarDB-X CDC](https://github.com/polardb/polardbx-cdc)
1818

1919
Check out the `main` branch of each repository.
2020

21-
### Compiling PolarDB-X Data Node (GalaxyEngine)
21+
### Compiling PolarDB-X Data Node (PolarDB-X Engine)
2222

2323
**Install dependencies on CentOS7**
2424

@@ -55,8 +55,8 @@ apt install make automake cmake git bison libaio-dev libncurses-dev libsasl2-dev
5555
**Compile && Install**
5656

5757
```bash
58-
# enter galaxyengine directory
59-
cd galaxyengine
58+
# enter polardbx-engine directory
59+
cd polardbx-engine
6060

6161
# install boost 1.70 (Note: Put boost into the repository to avoid downloading)
6262
wget https://boostorg.jfrog.io/artifactory/main/release/1.70.0/source/boost_1_70_0.tar.gz
@@ -76,16 +76,16 @@ make -j8
7676
make install
7777
```
7878

79-
### Compiling PolarDB-X Compute Node (GalaxySQL&GalaxyGlue)
79+
### Compiling PolarDB-X Compute Node (PolarDB-X SQL & PolarDB-X Glue)
8080

8181
```shell
8282
# install JDK 1.8 and Maven 3
8383

84-
# make sure polardbx-rpc (galaxyglue) initialized
84+
# make sure polardbx-rpc (polardbx-glue) initialized
8585
git submodule update --init
8686

87-
# enter the galaxysql directory
88-
cd galaxysql/
87+
# enter the polardbx-sql directory
88+
cd polardbx-sql/
8989

9090
# compile&install
9191
mvn install -D maven.test.skip=true -D env=release
@@ -94,10 +94,10 @@ mvn install -D maven.test.skip=true -D env=release
9494
tar zxvf target/polardbx-server-*-SNAPSHOT.tar.gz
9595
```
9696

97-
### Compiling PolarDB-X CDC (GalaxyCDC)
97+
### Compiling PolarDB-X CDC (PolarDB-X CDC)
9898

9999
```shell
100-
cd galaxycdc
100+
cd polardbx-cdc
101101

102102
# compile&install
103103
mvn install -D maven.test.skip=true -D env=release
@@ -107,7 +107,7 @@ tar zxvf polardbx-cdc-assemble/target/polardbx-binlog*.tar.gz
107107
```
108108

109109
### Start PolarDB-X DN
110-
> NOTE: GalaxyEngine is a derivative work of MySQL, the following will use mysql and galaxyengine without distinction
110+
> NOTE: PolarDB-X Engine is a derivative work of MySQL, the following will use mysql and polardbx-engine without distinction
111111
>
112112
- This step starts a mysql process that acts as the metadb and DN
113113
- Refer to the mysql configuration file (my.cnf) in the appendix to modify it accordingly. By default, 4886 is used as mysql port and 32886 as private protocol port

docs/en/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To get started with PolarDB-X, you will use the PXD tool.
44
With PXD installed, you can run a PolarDB-X with just one-click.
55
> Notes:
6-
> - PXD is mainly used for test or development, for production environment please use [GalaxyKube](https://github.com/ApsaraDB/galaxykube) to deploy PolarDB-X on K8S.
6+
> - PXD is mainly used for test or development, for production environment please use [PolarDB-X Operator](https://github.com/polardb/polardbx-operator) to deploy PolarDB-X on K8S.
77
88
## Prerequisites
99
Deploying PolarDB-X via PXD tool requires Python3 and Docker to be installed first.

docs/zh_CN/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ PXD 使用说明参考[这里](quickstart.md)。
5252

5353
2. K8S 部署模式
5454

55-
PolarDB-X 提供 K8S 部署模式,通过该方式,可对 PolarDB-X 集群做更多定制化配置。K8S 部署教程参考[这里](https://github.com/ApsaraDB/galaxykube#quick-start)
55+
PolarDB-X 提供 K8S 部署模式,通过该方式,可对 PolarDB-X 集群做更多定制化配置。K8S 部署教程参考[这里](https://github.com/polardb/polardbx-operator#quick-start)
5656

5757
3. 源码编译安装模式
5858

@@ -88,23 +88,23 @@ PolarDB-X 采用 Shared-nothing 与存储分离计算架构进行设计,系统
8888

8989
PolarDB-X 提供通过 K8S Operator 方式管理以上4个组件,同时计算节点与存储节点之间可通过私有协议进行 RPC 通信,这些组件对应的仓库如下。
9090

91-
| 组件名称 | 仓库地址 | 版本号 |
92-
| --- | --- |-----------------|
93-
| 计算节点(CN, Compute Node) | [galaxysql](https://github.com/ApsaraDB/galaxysql) | v5.4.13-16615127 |
94-
| 元数据服务(GMS, Global Meta Service) | [galaxyengine](https://github.com/ApsaraDB/galaxyengine) | v1.0.2 |
95-
| 存储节点(DN, Data Node) | [galaxyengine](https://github.com/ApsaraDB/galaxyengine) | v1.0.2 |
96-
| 日志节点(CDC, Change Data Capture) | [galaxycdc](https://github.com/ApsaraDB/galaxycdc) | v5.4.13 |
97-
| 私有协议 | [galaxyglue](https://github.com/ApsaraDB/galaxyglue) | v5.4.13-16615127 |
98-
| K8S Operator | [galaxykube](https://github.com/ApsaraDB/galaxykube) | v1.2.2 |
91+
| 组件名称 | 仓库地址 | 版本号 |
92+
| --- |-------------------------------------------------------------------|-----------------|
93+
| 计算节点(CN, Compute Node) | [polardbx-sql](https://github.com/polardb/polardbx-sql) | v5.4.13-16615127 |
94+
| 元数据服务(GMS, Global Meta Service) | [polardbx-engine](https://github.com/polardb/polardbx-engine) | v1.0.2 |
95+
| 存储节点(DN, Data Node) | [polardbx-engine](https://github.com/polardb/polardbx-engine) | v1.0.2 |
96+
| 日志节点(CDC, Change Data Capture) | [polardbx-cdc](https://github.com/polardb/polardbx-cdc) | v5.4.13 |
97+
| 私有协议 | [polardbx-glue](https://github.com/polardb/polardbx-glue) | v5.4.13-16615127 |
98+
| K8S Operator | [polardbx-operator](https://github.com/polardb/polardbx-operator) | v1.2.2 |
9999

100100

101101

102-
## 什么是 ApsaraDB GalaxySQL
103-
GalaxySQL 是 PolarDB-X 的计算节点(CN, Compute Node)。
102+
## 什么是 PolarDB-X SQL
103+
PolarDB-X SQL 是 PolarDB-X 的计算节点(CN, Compute Node)。
104104

105105

106106
## License
107-
ApsaraDB GalaxySQL 采用 Apache License 2.0 协议。协议详情参看 [License](../../LICENSE) 文件。
107+
PolarDB-X SQL 采用 Apache License 2.0 协议。协议详情参看 [License](../../LICENSE) 文件。
108108

109109

110110
## 贡献
@@ -120,7 +120,7 @@ ApsaraDB GalaxySQL 采用 Apache License 2.0 协议。协议详情参看 [Licens
120120

121121

122122
## 致谢
123-
ApsaraDB GalaxySQL 中引用或借鉴了很多开源社区的代码,例如 Calcite、Presto 等,真诚感谢这些项目和贡献人员。
123+
PolarDB-X SQL 中引用或借鉴了很多开源社区的代码,例如 Calcite、Presto 等,真诚感谢这些项目和贡献人员。
124124
##
125125

126126

docs/zh_CN/quickstart-development.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
### 准备工作
99

10-
- 下载 [GalaxyEngine](https://github.com/ApsaraDB/galaxyengine) 代码,main分支
11-
- 下载 [GalaxySQL](https://github.com/ApsaraDB/galaxysql) 代码,main分支
12-
- 下载 [GalaxyGlue](https://github.com/ApsaraDB/galaxyglue) 代码,main分支
13-
- 下载 [GalaxyCDC](https://github.com/ApsaraDB/galaxycdc) 代码,main分支
10+
- 下载 [PolarDB-X Engine](https://github.com/polardb/polardbx-engine) 代码,main 分支
11+
- 下载 [PolarDB-X SQL](https://github.com/polardb/polardbx-sql) 代码,main 分支
12+
- 下载 [PolarDB-X Glue](https://github.com/polardb/polardbx-glue) 代码,main 分支
13+
- 下载 [PolarDB-X CDC](https://github.com/polardb/polardbx-cdc) 代码,main 分支
1414

15-
### 编译 PolarDB-X DN (存储节点,代号GalaxyEngine)
15+
### 编译 PolarDB-X DN (存储节点,代号 PolarDB-X Engine)
1616

17-
此步骤编译和安装GalaxyEngine(mysql)
17+
此步骤编译和安装 PolarDB-X Engine(mysql)
1818

1919
**安装依赖(CentOS7)**
2020

@@ -50,8 +50,8 @@ apt install make automake cmake git bison libaio-dev libncurses-dev libsasl2-dev
5050
**编译**
5151

5252
```bash
53-
# 进入 galaxyengine 代码路径
54-
cd galaxyengine
53+
# 进入 polardbx-engine 代码路径
54+
cd polardbx-engine
5555

5656
# 安装boost1.70 (注:把boost放到仓库里避免下载)
5757
wget https://boostorg.jfrog.io/artifactory/main/release/1.70.0/source/boost_1_70_0.tar.gz
@@ -72,16 +72,16 @@ make install
7272
```
7373

7474

75-
### 编译 PolarDB-X CN (计算节点,代号GalaxySQL)
76-
此步骤编译和安装galaxysql & galaxyglue代码
75+
### 编译 PolarDB-X CN (计算节点,代号 PolarDB-X SQL)
76+
此步骤编译和安装 polardbx-sql & polardbx-glue代码
7777
```yaml
7878
# 安装依赖 JDK 1.8 和 Maven 3
7979
# 配置 Maven 仓库地址
8080

8181
# 进入代码目录
82-
cd galaxysql/
82+
cd polardbx-sql/
8383

84-
# 确保 polardbx-rpc 子模块 (GalaxyGlue) 已初始化
84+
# 确保 polardbx-rpc 子模块 (PolarDB-X Glue) 已初始化
8585
git submodule update --init
8686

8787
# 编译打包
@@ -91,8 +91,8 @@ mvn install -D skipTests=true -D env=release
9191
tar zxvf target/polardbx-server-5.4.13-SNAPSHOT.tar.gz
9292
```
9393

94-
### 编译 PolarDB-X CDC(日志节点,代号GalaxyCDC
95-
此步骤编译和安装 galaxycdc 代码。
94+
### 编译 PolarDB-X CDC(日志节点,代号 PolarDB-X CDC
95+
此步骤编译和安装 polardbx-cdc 代码。
9696
```yaml
9797
# 进入CDC代码
9898

0 commit comments

Comments
 (0)