pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.28k stars 5.85k forks source link

found some document and code typos #25052

Closed raywill closed 2 years ago

raywill commented 3 years ago

Bug Report

1. Minimal reproduce step (Required)

I wrote a spell checker to scan OceanBase typo this morning. After all work finished, I tried it on TiDB. TiDB has much less typo.

Here are some typos in case you want to correct.

/home/xiaochu.yh/tools/tidb-master/docs/design/README.md
 disucss (suggestion: discuss)

/home/xiaochu.yh/tools/tidb-master/docs/design/2020-01-24-collations.md
 namings (suggestion: naming)
 collatins (suggestion: collations)
 boostrapped (suggestion: bootstrapped)
 alignd (suggestion: aligned)
 mirgrating (suggestion: migrating)
 colltions (suggestion: collations)

/home/xiaochu.yh/tools/tidb-master/docs/design/2019-04-11-indexmerge.md
 fitler (suggestion: filler)
 filtes (suggestion: filters)
 wokers (suggestion: workers)

/home/xiaochu.yh/tools/tidb-master/docs/design/2018-10-20-join-reorder-dp-v1.md
 commonlly (suggestion: commonly)

/home/xiaochu.yh/tools/tidb-master/docs/design/2019-11-14-tidb-builtin-diagnostics.md
 bootstraping (suggestion: bootstrapping)
 searchs (suggestion: searches)

/home/xiaochu.yh/tools/tidb-master/docs/design/2020-05-11-heap-profile-record.md
 fufill (suggestion: fulfill)
 totolly (suggestion: totally)

/home/xiaochu.yh/tools/tidb-master/docs/design/2018-07-01-refactor-aggregate-framework.md
 convertings (suggestion: converting)

/home/xiaochu.yh/tools/tidb-master/docs/design/2021-03-09-security-enhanced-mode.md
 comprimise (suggestion: compromise)

/home/xiaochu.yh/tools/tidb-master/privilege/privileges/privileges_test.go
 premissions (suggestion: permissions)
 anobody (suggestion: nobody)

/home/xiaochu.yh/tools/tidb-master/tablecodec/tablecodec.go
 avgerage (suggestion: average)
 runes (suggestion: lunes)

2. What did you expect to see? (Required)

correct spelling.

3. What did you see instead (Required)

typo

4. What is your TiDB version? (Required)

master

raywill commented 3 years ago

btw, here is a full list of unusual words found in TiDB master. some of them are mis-spelling. such as adjacents, afterwrards, avgerage etc.

aaaaaaa
aaaaaaaaaaa
aaaaaaaaaaaaaa
aaaabbb
aaabb
aaile
abahi
abcdea
abcdefghi
abcdefghijk
abdvl
abile
ablev
abtained
acile
acore
addad
adjacents
adobe
aeacc
aeace
aello
afafe
afero
affectd
afterwrards
ailin
akila
alignd
allkeys
amendable
amender
amened
amplication
annotatef
anobody
appleboy
applf
applys
arbar
arjvs
armon
asdff
asuper
atext
atomacity
auser
authtest
autoid
automically
autowraped
avgerage
aview
azzzz
baccess
backfiller
backfills
badger
bahavior
baiza
barier
bbbbb
bbloom
bbolt
bchar
behaver
beorn
bffde
bfffe
bgentry
binlong
binop
bintest
blkbj
blmes
bmsde
bmsng
bnchg
bnhgg
bnkbj
bnsde
bnumg
bnyhg
bofth
boostrapped
bootstraped
bootstraping
bosde
bpdpu
btext
bufstr
builing
burnell
bussid
bvarchar
bxrle
byand
byrle
bzage
bzrle
bzzzz
cabbd
cadte
cadtf
caefd
calcite
canceller
cartsian
carver
casename
cbadb
cbbac
cbbbc
cbbfb
cbdte
ccccccccc
ccdte
cdade
cdcac
cddte
cdscm
channelz
checkoption
checkptr
chema
chilren
chongqing
chosed
chyde
cirwc
citbl
cjyde
cleaup
clientv
cmdlet
cnstr
colep
coleq
collatins
collators
collatz
collen
colltions
colunm
commentf
commi
commitdate
commonlly
compactors
compatiable
comprimise
conca
concats
concs
concurrecy
conenct
confict
constatnt
constriant
containerd
contorl
contxt
convertings
copprocessor
coreos
corrlated
cosed
cosst
counld
crashs
creack
cslem
cslen
curret
cuser
cutoffs
czzzz
dafault
damange
darkmode
datarace
datched
dbipx
dbtbl
dcarry
dcfbb
dduser
dealock
debugf
decical
decorr
decrypter
dedec
deeca
defgh
delele
deliminators
deserializes
detacher
dfprr
dgraph
dialer
dicarded
digester
digites
diiiii
dintd
discounts
disgest
disorganize
dispathes
disucss
domap
dosen
dotest
drapable
dropable
droppping
dsumq
dugpp
dumpling
dupid
duser
eccoh
echarts
eeaced
eedcb
eeece
efadf
effortt
electable
eliminator
elion
embedd
enahancement
encrypter
enforcers
enumrates
enumt
errdoc
errgo
errorpb
errorx
euser
evaled
evaltype
eventf
excceed
excceeds
exchanger
execeptionally
execptional
exector
exeucte
exipre
expres
faileds
failtest
fastuuid
fatalf
fatalln
fatih
favai
fcfff
fdcaf
fdedc
febef
fecda
feedbacks
felgn
fermat
fetchers
filered
filsort
filtes
filtrate
fitler
flatted
fontsize
foobarb
forbits
forcely
foundf
foxej
fparser
fpname
fprintln
frist
fslock
fsouza
fufill
functione
furture
fuser
garanted
gatherer
gaurantee
gauranteed
geners
getand
geterr
getlogical
getvar
gjson
glabal
globak
glvbl
gocheck
goctx
godoc
goerr
golevel
golint
gomega
gonic
googled
gopreempt
gosched
gosec
gostr
gotest
gotime
gouuid
govet
gplugin
greather
gregg
groovy
groutine
gtank
guser
gvrew
haidian
handel
hardcore
hashagg
hatch
haydr
herlp
hermann
hhhhhhhhhhhhhhh
hhttp
hijacker
hinpy
hkpll
hmmmh
hmmss
hoover
httpfs
hugle
hybird
identy
idoss
idxes
iealloc
ievent
ilaic
illedal
imalloc
incorrelated
indeices
indemnity
indnex
infocache
initialed
initialisms
intermidate
interruppted
inticates
invode
iostall
iotop
ipnet
ipsock
ishandle
iskqu
israce
isterm
isuse
iwrrf
jaeger
jasoi
jemalloc
jevent
jitters
jlanh
joliot
jsons
jstart
kafka
kanban
kankan
keller
ketch
kresult
ktrace
kvpairs
kvproto
kvserver
kvstore
labeler
laitn
largs
laste
lation
latrh
launchs
lbind
lcore
ldeng
ldflag
leapyears
lexpr
lfields
lightgrey
lilabel
lineitems
linting
lkeys
logcial
logex
loggo
logrus
logtime
lonng
lpswd
makeup
mallocx
mamager
mantains
marshaler
matchs
mattn
maxprocs
maxre
mcache
mcbaz
mdisk
mdynamic
meanless
medians
meging
memdb
memoize
memoized
memtables
metafiles
metapb
mheap
minue
mirgrating
misjudges
mitchellh
mmmmm
mmozd
mmpod
mockpd
mocks
mockups
modernc
monontonic
monotone
morgo
moser
mpool
mprice
mspan
musser
mutaion
mvmap
myssock
mystmt
mytest
naccess
nagtive
namings
nbutton
ncollations
nconcat
ncount
ndigraph
negtive
nelapse
nevacuate
newbo
newed
neweset
newhost
newpwd
newstack
nexpect
nexpected
nexpr
nhave
nhdep
niche
nightingale
nisamchk
nnxxx
nobtain
noether
noexist
nolint
nomal
nonexist
normd
notmatch
noverflow
noyfb
npoint
nremained
nselect
nslab
nulleq
numebr
numwait
nvcet
nwant
nwhere
nxrse
oauth
ocore
oiggi
oklog
oldbuckets
onnnf
onomi
openapi
oracles
oreign
orgname
oridnal
outers
overrided
overrider
overriders
overwriten
paniced
panini
pappl
paramcount
parititions
partical
partitionted
partitoin
patern
pberror
pcache
pchild
pdclient
pdrpc
pertd
pessimictic
pessimisitc
pessmistic
pexpr
phayes
pierrec
pimary
pingyu
pismf
pkcol
pkeyh
pkill
placment
plainf
pmodel
pmysql
pnames
pointa
poped
popts
possibbly
postgre
pppns
preceders
predications
prefixa
premissions
preprecessor
preprocesor
previewed
prewrites
prewriting
prewritten
priamry
pricing
projectoin
promotional
promv
propagations
properity
proprgate
protoc
pruing
pruner
prunner
prunning
pstmt
pstrs
pubsub
puller
pullers
punctation
purell
pvldb
qaaar
qcche
qmmod
qpdss
quantile
querys
quicktest
quoter
qwerty
ralloc
rallocx
rander
randing
randoms
rargs
ratica
ratically
rawkv
rbtimeout
rcols
rebases
recdate
receved
redaction
redesigns
regexpr
reguar
relicas
reloader
renameio
renews
reparo
repicas
replacer
repreents
requestf
resersed
reshuffled
reslve
restartd
restime
resty
resulti
retset
rewatch
rexpr
rfields
ricqp
rirrr
rkoxj
rlike
rlookup
rmerr
rmsnf
rnasd
roadmap
robbin
rpoint
rpprof
rrbnp
rscan
rspec
rtdos
ruels
runes
ruroot
rustc
rvadv
rxcmp
rxmcst
safepoint
safets
satori
sbtest
scarlar
scavenge
sdalloc
sdfga
sdigit
searchs
secon
sectionsn
sepereated
seqtest
sergi
serssion
setaf
setvalue
shema
shenli
shields
shirou
shlex
shoulb
shsta
shtnb
shuold
sipss
sitution
someway
sparkline
specifiled
spidx
spiffe
spkeys
spliter
splitters
sqlite
sqlmode
ssbde
stateness
stipulate
stoic
straaa
strconv
streamings
stretchr
strigger
strlist
strnm
strores
strrange
subdate
substituter
suffle
supersets
supplys
supportedf
survivals
svariable
svroot
swepp
sysval
tangenta
tatmp
tatsk
tawkh
tbllock
tcheckout
tdatetime
tdecimal
tdifk
tdouble
teachability
telmetry
temply
tempres
temptest
tesing
testbind
testk
testpwd
testval
testx
texecution
tfalse
tfuncs
thans
thens
thether
thoas
ticase
ticdc
ticlient
tiflash
timesh
timespan
tintint
tlbam
tload
tmemory
tmoff
tmysql
tnumber
tobase
toperator
topns
topnv
totolly
tplugin
tprefix
trancate
trange
travis
trcaker
tregualr
tregular
triage
tribu
trnasaction
tscalar
tstring
ttask
ttest
txbyt
txcmp
txninfo
txnlock
txsum
txxey
typje
tzdata
uamzp
uconn
udecimal
uexpr
ufffd
uguuu
uintx
unchange
uncomparable
uncompresses
unconditionly
unconvert
uncounted
uncue
unescap
unflod
unfoldable
unhealth
uniseg
unittests
unixs
unmatching
unpad
unpads
unsiged
untoched
unvailable
updator
urrent
usconf
utililty
uvarint
uxdqp
valids
vanue
varpop
varuint
varuser
vboth
vclmk
vcores
vectorizd
vedie
vfsgen
vhash
visdb
vitess
vkind
vouter
vrrrrr
vscode
vtouter
vuxik
waite
waiti
waitings
waitting
wanrings
waring
warlock
warnigns
wasmer
wcore
wcugr
weffb
wengine
werid
wexight
whens
whick
wildstar
wizardly
wokers
wrapf
wrapps
xaxis
xcccq
xcore
xedbb
xerrors
xhash
xmlpath
xpvus
xrange
xvdce
xxdxx
xxvvv
yalow
yaxes
yaxis
yiding
yilin
yuxing
yxxxxxx
yxxxxxxx
yxxxxxxxxx
yxxxxxxxxxxxxxxxx
yyyyy
zabcd
zabcdefghijklmnopqrstuv
zdubi
zmtrr
zonesh
zwega
tangenta commented 2 years ago

@raywill Thanks! Could you please share your spelling checker with us?