Skip to content

Commit

Permalink
5.4.15-16669515 release
Browse files Browse the repository at this point in the history
  • Loading branch information
wcf committed Oct 28, 2022
1 parent dc955f8 commit 6d37a4c
Show file tree
Hide file tree
Showing 2,941 changed files with 238,718 additions and 49,038 deletions.
10 changes: 0 additions & 10 deletions .github/pull_request_template.md

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/build_and_unit_test.yaml

This file was deleted.

188 changes: 0 additions & 188 deletions .github/workflows/dml_ddl_test.yaml

This file was deleted.

File renamed without changes.
16 changes: 9 additions & 7 deletions codestyle/format_lab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

baseDir=`pwd`/
commit=`git merge-base origin/polardbx_opensource HEAD`
files=`git diff --name-only ${commit} | grep '.java' | grep -v 'polardbx-calcite' | grep -v 'polardbx-rpc/src/main/java/com/mysql/cj'| grep -v 'com/alibaba/polardbx/rpc/cdc'| xargs -I {} echo ${baseDir}{}`
files=`git diff --name-only ${commit} | grep '.java' | grep -v 'polardbx-calcite' | grep -v 'polardbx-rpc/src/main/java/com/mysql/cj'| grep -v 'com/alibaba/polardbx/rpc/cdc'| xargs -I {} echo ${baseDir}{}`
count=0
batchFile=''
for file in $files; do
count=$((($count + 1) % 100))
batchFile=$batchFile' '$file
if [[ $count -eq 0 ]]; then
/home/admin/idea/bin/format.sh -s ${baseDir}'codestyle/codestyle-idea.xml' -m '*.java' ${batchFile}
batchFile=''
if [ -f "$file" ]; then
count=$((($count + 1) % 100))
batchFile=$batchFile' '$file
if [[ $count -eq 0 ]]; then
/home/admin/idea/bin/format.sh -s ${baseDir}'codestyle/codestyle-idea.xml' -m '*.java' ${batchFile}
batchFile=''
fi
trap "echo Exited!; exit;" SIGINT SIGTERM
fi
trap "echo Exited!; exit;" SIGINT SIGTERM
done

if [[ ! -z $batchFile ]]; then
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM polardbx/galaxybasejava:v20220621
FROM polardbx/galaxybasejava:20221027-sdfa

WORKDIR /home/admin

Expand Down
2 changes: 1 addition & 1 deletion docs/en/quickstart-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ polardbx.instance.id=polardbx-polardbx
mem_size=16000
metaDb_url=jdbc:mysql://127.0.0.1:4886/polardbx_meta_db_polardbx?useSSL=false
metaDb_username=my_polarx
metaDb_password=HMqvkvXZtT7XedA6t2IWY8+D7fJWIJir/mIY1Nf1b58=
metaDbPasswd=HMqvkvXZtT7XedA6t2IWY8+D7fJWIJir/mIY1Nf1b58=
polarx_url=jdbc:mysql://127.0.0.1:8527/__cdc__
polarx_username=polardbx_root
polarx_password=H1AzXc2NmCs61dNjH5nMvA==
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/quickstart-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ polardbx.instance.id=polardbx-polardbx
mem_size=16000
metaDb_url=jdbc:mysql://127.0.0.1:4886/polardbx_meta_db_polardbx?useSSL=false
metaDb_username=my_polarx
metaDb_password=HMqvkvXZtT7XedA6t2IWY8+D7fJWIJir/mIY1Nf1b58=
metaDbPasswd=HMqvkvXZtT7XedA6t2IWY8+D7fJWIJir/mIY1Nf1b58=
polarx_url=jdbc:mysql://127.0.0.1:8527/__cdc__
polarx_username=polardbx_root
polarx_password=H1AzXc2NmCs61dNjH5nMvA==
Expand Down
4 changes: 0 additions & 4 deletions docs/zh_CN/quickstart-how-to-debug-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ metaDbPasswd=+row16HHcsxn1JZ4YKcsrzjxOg1WZcRLUgba/IRagfc=

添加Idea的环境变量`dnPasswordKey`,默认使用asdf1234ghjk5678

将Idea中`Preference - Build,Execution,Deployment - Build tools - maven - importing - VM options for importer`设置为`-Xmx2048m -Xms2048m`

将Idea中`Preference-Compiler-Build process heap size`设置为4096

![add_env_variable](../images/add_env_variable.png)

### 运行TddlLauncher.java
Expand Down
Loading

0 comments on commit 6d37a4c

Please sign in to comment.