Skip to content

Commit a44ac58

Browse files
committed
merge master
2 parents bfdff0c + dbcf5a1 commit a44ac58

File tree

216 files changed

+10288
-2258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+10288
-2258
lines changed

‎DEPS.bzl‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7792,13 +7792,13 @@ def go_deps():
77927792
build_tags = ["nextgen", "intest"],
77937793
build_file_proto_mode = "disable_global",
77947794
importpath = "github.com/tikv/client-go/v2",
7795-
sha256 = "4be6ba1edf6018767ec313880f3a05a0df1d9c715a9d7a1677f8f7cd4469cc7a",
7796-
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20251023143337-dcb62bb1215d",
7795+
sha256 = "fa11c83fe209e61cafe818e89b3085b70ab62ebc1b74fc37a263c178ad3afefe",
7796+
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20251028065425-b7d4dfd8520e",
77977797
urls = [
7798-
"http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251023143337-dcb62bb1215d.zip",
7799-
"http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251023143337-dcb62bb1215d.zip",
7800-
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251023143337-dcb62bb1215d.zip",
7801-
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251023143337-dcb62bb1215d.zip",
7798+
"http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251028065425-b7d4dfd8520e.zip",
7799+
"http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251028065425-b7d4dfd8520e.zip",
7800+
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251028065425-b7d4dfd8520e.zip",
7801+
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20251028065425-b7d4dfd8520e.zip",
78027802
],
78037803
)
78047804
go_repository(

‎Makefile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,14 @@ bench-daily:
405405
go test github.com/pingcap/tidb/pkg/executor/test/splittest -run TestBenchDaily -bench Ignore --outfile bench_daily.json
406406
go test github.com/pingcap/tidb/pkg/expression -run TestBenchDaily -bench Ignore --outfile bench_daily.json
407407
go test github.com/pingcap/tidb/pkg/planner/core/tests/partition -run TestBenchDaily -bench Ignore --outfile bench_daily.json
408+
go test github.com/pingcap/tidb/pkg/planner/core/casetest/tpcds -run TestBenchDaily -bench Ignore --outfile bench_daily.json
408409
go test github.com/pingcap/tidb/pkg/planner/core/casetest/tpch -run TestBenchDaily -bench Ignore --outfile bench_daily.json
409410
go test github.com/pingcap/tidb/pkg/session -run TestBenchDaily -bench Ignore --outfile bench_daily.json
410411
go test github.com/pingcap/tidb/pkg/statistics -run TestBenchDaily -bench Ignore --outfile bench_daily.json
411412
go test github.com/pingcap/tidb/pkg/table/tables -run TestBenchDaily -bench Ignore --outfile bench_daily.json
412413
go test github.com/pingcap/tidb/pkg/tablecodec -run TestBenchDaily -bench Ignore --outfile bench_daily.json
413414
go test github.com/pingcap/tidb/pkg/util/codec -run TestBenchDaily -bench Ignore --outfile bench_daily.json
415+
go test github.com/pingcap/tidb/pkg/util/ranger -run TestBenchDaily -bench Ignore --outfile bench_daily.json
414416
go test github.com/pingcap/tidb/pkg/util/rowcodec -run TestBenchDaily -bench Ignore --outfile bench_daily.json
415417
go test github.com/pingcap/tidb/pkg/util/benchdaily -run TestBenchDaily -bench Ignore \
416418
-date `git log -n1 --date=unix --pretty=format:%cd` \

‎OWNERS_ALIASES‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# See the OWNERS docs at https://www.kubernetes.dev/docs/guide/owners/#owners_aliases
22
# The members of 'sig-community-*' are synced from memberships defined in repository: https://github.com/pingcap/community.
33
aliases:
4+
sig-approvers-stats:
5+
- mjonss
6+
- 0xPoe
7+
- time-and-fate
8+
- terry1purcell
49
sig-critical-approvers-tidb-server:
510
- yudongusa
611
- BenMeadowcroft
@@ -145,6 +150,7 @@ aliases:
145150
- fzzf678
146151
- gengliqi
147152
- ghazalfamilyusa
153+
- henrybw
148154
- iamxy
149155
- js00070
150156
- lamxTyler
@@ -158,6 +164,7 @@ aliases:
158164
- spongedu
159165
- tangwz
160166
- tsthght
167+
- wddevries
161168
- xzhangxian1008
162169
- yibin87
163170
- zhangjinpeng1987
@@ -184,6 +191,7 @@ aliases:
184191
- Leavrth
185192
- Little-Wallace
186193
- MyonKeminta
194+
- OliverS929
187195
- Reminiscent
188196
- SunRunAway
189197
- Tammyxia

‎br/pkg/streamhelper/basic_lib_for_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ func (t *testEnv) putTask() {
789789
t.taskCh <- tsk
790790
}
791791

792-
func (t *testEnv) ScanLocksInOneRegion(bo *tikv.Backoffer, key []byte, maxVersion uint64, limit uint32) ([]*txnlock.Lock, *tikv.KeyLocation, error) {
792+
func (t *testEnv) ScanLocksInOneRegion(bo *tikv.Backoffer, key []byte, endKey []byte, maxVersion uint64, limit uint32) ([]*txnlock.Lock, *tikv.KeyLocation, error) {
793793
t.mu.Lock()
794794
defer t.mu.Unlock()
795795
if t.maxTs != maxVersion {

‎build/nogo_config.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@
511511
"misspell": {
512512
"exclude_files": {
513513
"pkg/parser/parser.go": "parser/parser.go code",
514+
"pkg/planner/core/casetest/tpcds/main_test.go": "ignore code",
514515
"/cgo/": "ignore cgo code",
515516
"external/": "no need to vet third party code",
516517
"$GOROOT/": "ignore GOROOT code",

‎cmd/tidb-server/main.go‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,8 @@ func setGlobalVars() {
881881
{
882882
setInstanceVar(vardef.TiDBStmtSummaryMaxStmtCount, strconv.FormatUint(cfg.Instance.StmtSummaryMaxStmtCount, 10))
883883
setInstanceVar(vardef.TiDBServerMemoryLimit, cfg.Instance.ServerMemoryLimit)
884+
setInstanceVar(vardef.TiDBMemArbitratorMode, cfg.Instance.MemArbitratorMode)
885+
setInstanceVar(vardef.TiDBMemArbitratorSoftLimit, cfg.Instance.MemArbitratorSoftLimit)
884886
setInstanceVar(vardef.TiDBServerMemoryLimitGCTrigger, cfg.Instance.ServerMemoryLimitGCTrigger)
885887
setInstanceVar(vardef.TiDBInstancePlanCacheMaxMemSize, cfg.Instance.InstancePlanCacheMaxMemSize)
886888
setInstanceVar(vardef.TiDBStatsCacheMemQuota, strconv.FormatUint(cfg.Instance.StatsCacheMemQuota, 10))

‎docs/design/2023-09-12-grouping-sets.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Multi Distinct Aggregation is not strong dependent on grouping sets and expand o
157157

158158
From the explanation result above, we could find that, aggregation has been pull as long as 3 stages.
159159

160-
- `HashAgg_24` is used to group underlying data with a unified group expressions (a,b), while actually for a specified data replica from level-projection expressions: like [a, null], group-by(a,b) is functioned as group(a), which is exactly what `count(distint a)` wants.
160+
- `HashAgg_24` is used to group underlying data with a unified group expressions (a,b), while actually for a specified data replica from level-projection expressions: like [a, null], group-by(a,b) is functioned as group(a), which is exactly what `count(distinct a)` wants.
161161
- `HashAgg_28` is used to firstly count(distinct x) partial result after data shuffled by [gid, a, b]
162162
- `HashAgg_26` is used to secondly collect all partial result as final result after distributing intensive computation task out and data are pass through to single node again.
163163

‎docs/design/2024-01-09-pipelined-DML.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ We choose option 2 for its simplicity and more predictable delivery.
215215

216216
The interface remains unchanged. Users of the new mem buffer see no difference between normal and large transactions.
217217

218-
After every write opertion to memdb, trigger a check to start flush. The check condition can be based on the number of keys in current memdb, or the current total size of memdb.
218+
After every write operation to memdb, trigger a check to start flush. The check condition can be based on the number of keys in current memdb, or the current total size of memdb.
219219

220220
If the mutable memdb becomes too large and the last flush has not finished, the write is blocked until the last flush finishes.
221221

@@ -343,7 +343,7 @@ A read request meets a lock written by the large txn.
343343

344344
- read_ts < start_ts of the large txn, ignore lock
345345
- read_ts >= start_ts of the large txn. Similar to old large transactions, it calls `check_txn_status` on the PK, trying to push its `min_commit_ts` so that `min_commit_ts` > `read_ts` of the read request. If `min_commit_ts` is successfully pushed, the read request can ignore the lock.
346-
- If `min_commit_ts` is continuously pushed, the large txn may have difficuly in committing. It is also bad practice to have read-write conflict.
346+
- If `min_commit_ts` is continuously pushed, the large txn may have difficulty in committing. It is also bad practice to have read-write conflict.
347347

348348
**Large-read x normal write**
349349

‎docs/tidb_http_api.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ timezone.*
571571
curl http://{TiDBIP}:10080/ddl/history
572572
```
573573
574-
**Note**: When the DDL history is very very long, system table may containg too many jobs. This interface will get a maximum of 2048 history ddl jobs by default. If you want get more jobs, consider adding `start_job_id` and `limit`.
574+
**Note**: When the DDL history is very very long, system table may containing too many jobs. This interface will get a maximum of 2048 history ddl jobs by default. If you want get more jobs, consider adding `start_job_id` and `limit`.
575575
576576
26. Get count {number} TiDB DDL job history information.
577577

‎dumpling/log/log.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func NewAppLogger(logger *zap.Logger) Logger {
6060
return Logger{logger}
6161
}
6262

63-
// ShortError contructs a field which only records the error message without the
63+
// ShortError constructs a field which only records the error message without the
6464
// verbose text (i.e. excludes the stack trace).
6565
func ShortError(err error) zap.Field {
6666
if err == nil {

0 commit comments

Comments
 (0)