Skip to content

Commit

Permalink
*: Fix misc spelling (#2504)
Browse files Browse the repository at this point in the history
Replace misspelled words:

    adminstrator
    ans
    automaticlly
    becase
    build-in
    calles
    chanel
    comonent
    compatiability
    componet
    curretly
    devided
    dirctory
    dispaly
    droping
    envionment
    errror
    failes
    fileds
    fisrt
    fuctions
    genreated
    gernerate
    gloabl
    implemention
    implment
    ingore
    interupted
    keep-alives
    lable
    lastest
    occured
    unexpect
    quering
    quiting
    refrence
    reletive
    runing
    setted
    shoule
    specifid
    specifing
    speficied
    storeage
    suprise
    tarbal
    thant
    verion
    vesions
  • Loading branch information
ottok authored Feb 10, 2025
1 parent 42641df commit 5454848
Show file tree
Hide file tree
Showing 45 changed files with 71 additions and 71 deletions.
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TiUP Changelog
- Fix possible panic when `tiup-playground` failed to start (#2457, @xhebox)
- Respect `component_versions` when `tiup-cluster` scales (#2451, @djshow832)
- Code clean: replace 'math/rand' with 'crypto/rand' (#2455, @bb7133)
- Fix tiup cannot update itself when tiup comonent exist (#2443, @nexustar)
- Fix tiup cannot update itself when tiup component exist (#2443, @nexustar)
- Do not check HTTP port for TiFlash 7.1.0 or above (#2440, @Lloyd-Pottiger)
- Also hide other password args (#2436, @xhebox)

Expand Down Expand Up @@ -114,7 +114,7 @@ TiUP Changelog

- Support use different component versions in `tiup-cluster` (#2010 #2264 #2306, @nexustar)
- Add global listen_host config in `tiup-cluster` and `tiup-dm` (#2303, @nexustar)
- Add gloabl component_sources config in `tiup-cluster` and `tiup-dm` (#2320, @nexustar)
- Add global component_sources config in `tiup-cluster` and `tiup-dm` (#2320, @nexustar)
- Support TiDB upgrade API to automatically pause DDL when upgrade in `tiup-cluster`(#2287 #2289, @nexustar)
- Support TiProxy in `tiup-cluster` (#2271, @xhebox)
- Support scheduling service in `tiup-playground` (#2273, @rleungx)
Expand Down Expand Up @@ -381,7 +381,7 @@ TiUP Changelog
- Add support of completion of cluster name with Tab button for `tiup-cluster` ([#1891](https://github.com/pingcap/tiup/pull/1891), [@nexustar](https://github.com/nexustar))
- Add support of checking timezone consistency among servers in `check` command of `tiup-cluster` ([#1890](https://github.com/pingcap/tiup/pull/1890), [@nexustar](https://github.com/nexustar))
- Add support of deploying on RHEL 8 in `tiup-cluster` ([#1896](https://github.com/pingcap/tiup/pull/1896), [@nexustar](https://github.com/nexustar))
- Add support of specifing custom key directory when rotating `root.json` in `tiup mirror` command ([#1848](https://github.com/pingcap/tiup/pull/1848), [@AstroProfundis](https://github.com/AstroProfundis))
- Add support of specifying custom key directory when rotating `root.json` in `tiup mirror` command ([#1848](https://github.com/pingcap/tiup/pull/1848), [@AstroProfundis](https://github.com/AstroProfundis))

### Fixes

Expand Down Expand Up @@ -478,7 +478,7 @@ TiUP Changelog
- Add support of enabling and disabling TLS encryption for deployed TiDB cluster in `tiup-cluster` ([#1657](https://github.com/pingcap/tiup/pull/1657), [@srstack](https://github.com/srstack))
- Add support of deploying TLS enabled DM clusters in `tiup-dm` ([#1745](https://github.com/pingcap/tiup/pull/1745), [@nexustar](https://github.com/nexustar))
- Add support of changing owner of a component in `tiup mirror` and `tiup-server` ([#1676](https://github.com/pingcap/tiup/pull/1676), [@AstroProfundis](https://github.com/AstroProfundis))
- Add support of specifing IP address to bind for AlertManager in `tiup-cluster` ([#1665](https://github.com/pingcap/tiup/pull/1665) [#1669](https://github.com/pingcap/tiup/pull/1669), [@srstack](https://github.com/srstack))
- Add support of specifying IP address to bind for AlertManager in `tiup-cluster` ([#1665](https://github.com/pingcap/tiup/pull/1665) [#1669](https://github.com/pingcap/tiup/pull/1669), [@srstack](https://github.com/srstack))
- Add support of initialing random root password for TiDB in `tiup-cluster` ([#1700](https://github.com/pingcap/tiup/pull/1700), [@AstroProfundis](https://github.com/AstroProfundis))
- Add support of `check` before scaling out a cluster in `tiup-cluster` ([#1659](https://github.com/pingcap/tiup/pull/1659), [@srstack](https://github.com/srstack))
- Add support of customizing Grafana configurations in `server_configs` section in `tiup-cluster` and `tiup-dm` ([#1703](https://github.com/pingcap/tiup/pull/1703), [@nexustar](https://github.com/nexustar))
Expand Down Expand Up @@ -542,7 +542,7 @@ TiUP Changelog
- Add support of next-generation monitor (`ng-monitor`) in `tiup-playground` ([#1648](https://github.com/pingcap/tiup/pull/1648), [@nexustar](https://github.com/nexustar))
- Add support of inserting custom `scrape_configs` to Prometheus configs in `tiup-cluster` ([#1641](https://github.com/pingcap/tiup/pull/1641), [@nexustar](https://github.com/nexustar))
- [experimental] Support 2-staged scaling out for `tiup-cluster` ([#1638](https://github.com/pingcap/tiup/pull/1638) [#1642](https://github.com/pingcap/tiup/pull/1642), [@srstack](https://github.com/srstack))
- Scaling out of a TiDB cluster can be devided with `--stage1` and `--stage2` arguments, the stage 1 deploys files and configs but not starting the new instances, and the stage 2 actually starts the new instances and reload necessary configs
- Scaling out of a TiDB cluster can be divided with `--stage1` and `--stage2` arguments, the stage 1 deploys files and configs but not starting the new instances, and the stage 2 actually starts the new instances and reload necessary configs
- This could be useful if you want to modify config of the new instances or use a custom binary with `patch` **before** the first start of the new instances
- [experimental] Implement plain text output and support custom output writer for logs ([#1646](https://github.com/pingcap/tiup/pull/1646), [@AstroProfundis](https://github.com/AstroProfundis))

Expand Down Expand Up @@ -660,7 +660,7 @@ TiUP Changelog

- Allow editing of `lerner_config` field in TiFlash spec ([#1494](https://github.com/pingcap/tiup/pull/1494), [@AstroProfundis](https://github.com/AstroProfundis))
- Fix incorrect timeout for telemetry requests ([#1500](https://github.com/pingcap/tiup/pull/1500), [@AstroProfundis](https://github.com/AstroProfundis))
- Ingore `data_dir` of monitor agents when checking for directory overlaps ([#1510](https://github.com/pingcap/tiup/pull/1510), [@AstroProfundis](https://github.com/AstroProfundis))
- Ignore `data_dir` of monitor agents when checking for directory overlaps ([#1510](https://github.com/pingcap/tiup/pull/1510), [@AstroProfundis](https://github.com/AstroProfundis))

### Improvements

Expand Down Expand Up @@ -885,7 +885,7 @@ TiUP Changelog

### Fixes

- Fix the issue that tiup-cluster can't gernerate prometheus config ([#1185](https://github.com/pingcap/tiup/pull/1185), [@lucklove](https://github.com/lucklove))
- Fix the issue that tiup-cluster can't generate prometheus config ([#1185](https://github.com/pingcap/tiup/pull/1185), [@lucklove](https://github.com/lucklove))
- Fix the issue that tiup may choose yanked version if it's already installed ([#1191](https://github.com/pingcap/tiup/pull/1191), [@lucklove](https://github.com/lucklove))

## [1.3.3] 2021.03.04
Expand Down Expand Up @@ -937,11 +937,11 @@ TiUP Changelog

### Improvements

- Reduce display duration when PD nodes encounter network problems and droping packages ([#986](https://github.com/pingcap/tiup/pull/986), [@9547](https://github.com/9547))
- Reduce display duration when PD nodes encounter network problems and dropping packages ([#986](https://github.com/pingcap/tiup/pull/986), [@9547](https://github.com/9547))
- cluster, dm: support version input without leading 'v' ([#1009](https://github.com/pingcap/tiup/pull/1009), [@AstroProfundis](https://github.com/AstroProfundis))
- Add a warning to explain that we will stop the cluster before clean logs ([#1029](https://github.com/pingcap/tiup/pull/1029), [@lucklove](https://github.com/lucklove))
- When a user try to clean logs with the command `tiup cluster clean --logs`, he may expect that the cluster is still running during the clean operation
- The actual situation is not what he expect, which may suprise the user (risk)
- The actual situation is not what he expect, which may surprise the user (risk)

## [1.3.0] 2020.12.17

Expand All @@ -964,7 +964,7 @@ TiUP Changelog

- Fixed the issue that the public key created by TiUP was not removed after the cluster was destroyed ([#910](https://github.com/pingcap/tiup/pull/910), [@9547](https://github.com/9547))
- Fix the issue that user defined grafana username and password not imported from tidb-ansible cluster correctly ([#937](https://github.com/pingcap/tiup/pull/937), [@AstroProfundis](https://github.com/AstroProfundis))
- Fix the issue that playground cluster not quiting components with correct order: TiDB -> TiKV -> PD ([#933](https://github.com/pingcap/tiup/pull/933), [@unbyte](https://github.com/unbyte))
- Fix the issue that playground cluster not quitting components with correct order: TiDB -> TiKV -> PD ([#933](https://github.com/pingcap/tiup/pull/933), [@unbyte](https://github.com/unbyte))
- Fix the issue that TiKV reports wrong advertise address when `--status-addr` is set to a wildcard address like `0.0.0.0` ([#951](https://github.com/pingcap/tiup/pull/951), [@lucklove](https://github.com/lucklove))
- Fix the issue that Prometheus doesn't reload target after scale-in action ([#958](https://github.com/pingcap/tiup/pull/958), [@9547](https://github.com/9547))
- Fix the issue that the config file for TiFlash missing in playground cluster ([#969](https://github.com/pingcap/tiup/pull/969), [@unbyte](https://github.com/unbyte))
Expand Down Expand Up @@ -1054,7 +1054,7 @@ TiUP Changelog
- Support limiting core dump size ([#817](https://github.com/pingcap/tiup/pull/817), [@lucklove](https://github.com/lucklove))
- Support using latest Spark and TiSpark release ([#779](https://github.com/pingcap/tiup/pull/779), [@lucklove](https://github.com/lucklove))
- Support new cdc arguments `gc-ttl` and `tz` ([#770](https://github.com/pingcap/tiup/pull/770), [@lichunzhu](https://github.com/lichunzhu))
- Support specifing custom ssh and scp path ([#734](https://github.com/pingcap/tiup/pull/734), [@9547](https://github.com/9547))
- Support specifying custom ssh and scp path ([#734](https://github.com/pingcap/tiup/pull/734), [@9547](https://github.com/9547))

### Fixes

Expand All @@ -1066,9 +1066,9 @@ TiUP Changelog

### Improvements

- Automaticlly check if TiKV's label is set ([#800](https://github.com/pingcap/tiup/pull/800), [@lucklove](https://github.com/lucklove))
- Automatically check if TiKV's label is set ([#800](https://github.com/pingcap/tiup/pull/800), [@lucklove](https://github.com/lucklove))
- Download component with stream mode to avoid memory explosion ([#755](https://github.com/pingcap/tiup/pull/755), [@9547](https://github.com/9547))
- Save and display absolute path for deploy directory, data dirctory and log directory to avoid confusion ([#822](https://github.com/pingcap/tiup/pull/822), [@lucklove](https://github.com/lucklove))
- Save and display absolute path for deploy directory, data directory and log directory to avoid confusion ([#822](https://github.com/pingcap/tiup/pull/822), [@lucklove](https://github.com/lucklove))
- Redirect DM stdout to log files ([#815](https://github.com/pingcap/tiup/pull/815), [@csuzhangxc](https://github.com/csuzhangxc))
- Skip download nightly package when it exists ([#793](https://github.com/pingcap/tiup/pull/793), [@lucklove](https://github.com/lucklove))

Expand Down Expand Up @@ -1134,7 +1134,7 @@ TiUP Changelog

* Validate topology changes after edit-config [#609](https://github.com/pingcap/tiup/pull/609)
* Allow continue editing when new topology has errors [#624](https://github.com/pingcap/tiup/pull/624)
* Fix wrongly setted data_dir of TiFlash when import from ansible [#612](https://github.com/pingcap/tiup/pull/612)
* Fix wrongly set data_dir of TiFlash when import from ansible [#612](https://github.com/pingcap/tiup/pull/612)
* Support native ssh client [#615](https://github.com/pingcap/tiup/pull/615)
* Support refresh configuration only when reload [#625](https://github.com/pingcap/tiup/pull/625)
* Apply config file on scaled pd server [#627](https://github.com/pingcap/tiup/pull/627)
Expand Down
4 changes: 2 additions & 2 deletions cmd/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ func newMirrorGrantCmd() *cobra.Command {
name = id
}

// the privPath can point to a public key becase the Public method of KeyInfo works on both priv and pub keys
// the privPath can point to a public key because the Public method of KeyInfo works on both priv and pub keys
privKey, err := loadPrivKey(privPath)
if err != nil {
return err
Expand Down Expand Up @@ -826,7 +826,7 @@ func newMirrorGenkeyCmd() *cobra.Command {
// the `mirror init` sub command
func newMirrorInitCmd() *cobra.Command {
var (
keyDir string // Directory to write genreated key files
keyDir string // Directory to write generated key files
)
cmd := &cobra.Command{
Use: "init <path>",
Expand Down
2 changes: 1 addition & 1 deletion components/cluster/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func init() {
// start/stop operations is 90s, the default value of this argument is better be longer than that
rootCmd.PersistentFlags().Uint64Var(&gOpt.OptTimeout, "wait-timeout", 120, "Timeout in seconds to wait for an operation to complete, ignored for operations that don't fit.")
rootCmd.PersistentFlags().BoolVarP(&skipConfirm, "yes", "y", false, "Skip all confirmations and assumes 'yes'")
rootCmd.PersistentFlags().BoolVar(&gOpt.NativeSSH, "native-ssh", gOpt.NativeSSH, "(EXPERIMENTAL) Use the native SSH client installed on local system instead of the build-in one.")
rootCmd.PersistentFlags().BoolVar(&gOpt.NativeSSH, "native-ssh", gOpt.NativeSSH, "(EXPERIMENTAL) Use the native SSH client installed on local system instead of the built-in one.")
rootCmd.PersistentFlags().StringVar((*string)(&gOpt.SSHType), "ssh", "", "(EXPERIMENTAL) The executor type: 'builtin', 'system', 'none'.")
rootCmd.PersistentFlags().IntVarP(&gOpt.Concurrency, "concurrency", "c", 5, "max number of parallel tasks allowed")
rootCmd.PersistentFlags().StringVar(&gOpt.DisplayMode, "format", "default", "(EXPERIMENTAL) The format of output, available values are [default, json]")
Expand Down
2 changes: 1 addition & 1 deletion components/cluster/command/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func newTelemetryCmd() *cobra.Command {
return cmd
}

// nodeInfo dispaly telemetry.NodeInfo in stdout.
// nodeInfo display telemetry.NodeInfo in stdout.
func nodeInfo(ctx context.Context) error {
info := new(telemetry.NodeInfo)
err := telemetry.FillNodeInfo(ctx, info)
Expand Down
2 changes: 1 addition & 1 deletion components/dm/ansible/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ type Importer struct {
sources map[string]*SourceConfig // addr(ip:port) -> SourceConfig

// only use for test.
// when setted, we use this executor instead of getting a truly one.
// when set, we use this executor instead of getting a truly one.
testExecutorGetter ExecutorGetter
}

Expand Down
2 changes: 1 addition & 1 deletion components/dm/command/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ please backup your data before process.`,
rootCmd.PersistentFlags().Uint64Var(&gOpt.SSHTimeout, "ssh-timeout", 5, "Timeout in seconds to connect host via SSH, ignored for operations that don't need an SSH connection.")
rootCmd.PersistentFlags().Uint64Var(&gOpt.OptTimeout, "wait-timeout", 120, "Timeout in seconds to wait for an operation to complete, ignored for operations that don't fit.")
rootCmd.PersistentFlags().BoolVarP(&skipConfirm, "yes", "y", false, "Skip all confirmations and assumes 'yes'")
rootCmd.PersistentFlags().BoolVar(&gOpt.NativeSSH, "native-ssh", gOpt.NativeSSH, "Use the SSH client installed on local system instead of the build-in one.")
rootCmd.PersistentFlags().BoolVar(&gOpt.NativeSSH, "native-ssh", gOpt.NativeSSH, "Use the SSH client installed on local system instead of the built-in one.")
rootCmd.PersistentFlags().StringVar((*string)(&gOpt.SSHType), "ssh", "", "The executor type: 'builtin', 'system', 'none'")
rootCmd.PersistentFlags().IntVarP(&gOpt.Concurrency, "concurrency", "c", 5, "max number of parallel tasks allowed")
rootCmd.PersistentFlags().StringVar(&gOpt.DisplayMode, "format", "default", "(EXPERIMENTAL) The format of output, available values are [default, json]")
Expand Down
2 changes: 1 addition & 1 deletion doc/design/checkpoint.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The checkpoint implemention for tiup-cluster and tiup-dm
# The checkpoint implementation for tiup-cluster and tiup-dm

When there is an occasional error on `tiup cluster` or `tiup dm` command, some users may want to retry previews action from the fail point instead of from scratch.

Expand Down
4 changes: 2 additions & 2 deletions doc/design/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ TiUp itself can be treated as a component and I think does not need to be treate
* Zero-trust access control.
* Minimise the number of keys and the frequency with which they must be replaced.
* Uploads and downloads should be secure.
* All operations should be idempotent or at least repeatable. If an operation is interupted, the user can just retry until it succeeds.
* All operations should be idempotent or at least repeatable. If an operation is interrupted, the user can just retry until it succeeds.
* There should be no 'transaction' mechanism between client and server, groups of operations should not require atomicity.
* Minimise required knowledge in the client - the metadata should direct the client how to perform operations with minimal knowledge of the server's data layout, etc.
* We should not require consistency between files in the repo (beyond hashes and keys).
Expand Down Expand Up @@ -471,7 +471,7 @@ Adding a repo is trivial - we just need a URL and trusted root manifest, then fo
Whether a key is rotated due to it being compromised or due to regular rotation, the procedure is the same. A top-level key cannot be removed without being replaced. This is an entirely server-side action.

* Produce a new key pair.
* Store the new private key or give it to the adminstrator to store securely.
* Store the new private key or give it to the administrator to store securely.
* Update root.json to add the new public key and remove the old one.
* If replacing a root key, the new root.json should be signed with both the old and the new keys.
* If a non-root key is replaced, create a new version of the relevant manifest and sign with the new key (and any older, non-replaced keys).
Expand Down
4 changes: 2 additions & 2 deletions doc/user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ dm pingcap Data Migration Platform manager
dm-master pingcap dm-master component of Data Migration Platform
dm-worker pingcap dm-worker component of Data Migration Platform
dmctl pingcap dmctl component of Data Migration Platform
drainer pingcap The drainer componet of TiDB binlog service
drainer pingcap The drainer component of TiDB binlog service
dumpling pingcap Dumpling is a CLI tool that helps you dump MySQL/TiDB data
errdoc pingcap Document about TiDB errors
grafana pingcap Grafana is the open source analytics & monitoring solution for every database
Expand All @@ -124,7 +124,7 @@ pd pingcap PD is the abbreviation for Placement Driver. It is
pd-recover pingcap PD Recover is a disaster recovery tool of PD, used to recover the PD cluster which cannot start or provide services normally
playground pingcap Bootstrap a local TiDB cluster for fun
prometheus pingcap The Prometheus monitoring system and time series database
pump pingcap The pump componet of TiDB binlog service
pump pingcap The pump component of TiDB binlog service
pushgateway pingcap Push acceptor for ephemeral and batch jobs
server pingcap TiUP publish/cache server
spark pingcap Spark is a fast and general cluster computing system for Big Data
Expand Down
2 changes: 1 addition & 1 deletion embed/templates/config/grafana.ini.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ server_from_sub_path = true
;reporting_enabled = true

# Set to false to disable all checks to https://grafana.net
# for new vesions (grafana itself and plugins), check is used
# for new versions (grafana itself and plugins), check is used
# in some UI views to notify that grafana or plugin update exists
# This option does not cause any auto updates, nor send any information
# only a GET request to http://grafana.net to get latest versions
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sgr0=$(tput sgr0 2>/dev/null)

echo

# Refrence: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix
# Reference: https://stackoverflow.com/questions/14637979/how-to-permanently-set-path-on-linux-unix
shell=$(echo $SHELL | awk 'BEGIN {FS="/";} { print $NF }')
echo "Detected shell: ${bold}$shell${sgr0}"
if [ -f "${HOME}/.${shell}_profile" ]; then
Expand Down
Loading

0 comments on commit 5454848

Please sign in to comment.