Skip to content

Commit

Permalink
update: update readme.md and ghost doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchuanchuan committed May 4, 2024
1 parent 68a28a7 commit b3de05e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
@@ -1,10 +1,10 @@
# goInception

[![travis-ci](https://img.shields.io/travis/hanchuanchuan/goInception.svg)](https://travis-ci.org/hanchuanchuan/goInception)
<!-- [![travis-ci](https://img.shields.io/travis/hanchuanchuan/goInception.svg)](https://travis-ci.org/hanchuanchuan/goInception) -->
[![CircleCI Status](https://circleci.com/gh/hanchuanchuan/goInception.svg?style=shield)](https://circleci.com/gh/hanchuanchuan/goInception)
[![GitHub release](https://img.shields.io/github/release-pre/hanchuanchuan/goInception.svg?style=brightgreen)](https://github.com/hanchuanchuan/goInception/releases)
[![codecov](https://codecov.io/gh/hanchuanchuan/goInception/branch/master/graph/badge.svg)](https://codecov.io/gh/hanchuanchuan/goInception)
[![](https://img.shields.io/badge/go-1.12-brightgreen.svg)](https://golang.org/dl/)
[![](https://img.shields.io/badge/go-1.22.1-brightgreen.svg)](https://golang.org/dl/)
[![TiDB](https://img.shields.io/badge/TiDB-v2.1.1-brightgreen.svg)](https://github.com/pingcap/tidb)
![](https://img.shields.io/github/downloads/hanchuanchuan/goInception/total.svg)
![](https://img.shields.io/github/license/hanchuanchuan/goInception.svg)
Expand Down
1 change: 1 addition & 0 deletions docs/ghost.md
Expand Up @@ -99,6 +99,7 @@ osc_print_none | false | bool | If value is 1,
Option | default | type | description
------------ | ------------- | ------------ | ------------
ghost_on | false | bool | gh-ost swtich
ghost_bin_dir `v1.2.5` | '' | string | gh-ost binary path
ghost_aliyun_rds | false | bool | Ali rds database label
ghost_allow_master_master | false | bool | If gh-ost can run in Dual master structure, with option `-assume-master-host`
|ghost_allow_nullable_unique_key|FALSE|bool|If gh-ost can depend on Unique key in NULL when migrate.Default unique key can not be NULL.If yes, data will inconsistency in migration.|
Expand Down
1 change: 1 addition & 0 deletions docs/zh/ghost.md
Expand Up @@ -92,6 +92,7 @@ osc_print_none | false | bool | 用来设置在
参数 | 默认值 | 可选范围 | 说明
------------ | ------------- | ------------ | ------------
ghost_on | false | bool | gh-ost开关
ghost_bin_dir `v1.2.5` | '' | string | gh-ost binary的位置
ghost_aliyun_rds | false | bool | 阿里云rds数据库标志
ghost_allow_master_master | false | bool | 允许gh-ost运行在双主复制架构中,一般与-assume-master-host参数一起使用
ghost_allow_nullable_unique_key | false | bool | 允许gh-ost在数据迁移(migrate)依赖的唯一键可以为NULL,默认为不允许为NULL的唯一键。如果数据迁移(migrate)依赖的唯一键允许NULL值,则可能造成数据不正确,请谨慎使用。
Expand Down

0 comments on commit b3de05e

Please sign in to comment.