Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ks3_domain_mode
Browse files Browse the repository at this point in the history
Leavrth committed Jan 20, 2025
2 parents 984803f + 5ed9e63 commit 07a5752
Showing 3,179 changed files with 286,142 additions and 134,278 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 1 addition & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -6,11 +6,6 @@ run:ci --color=yes

build --announce_rc
build --experimental_guard_against_concurrent_changes
build --experimental_remote_merkle_tree_cache
build --java_language_version=17
build --java_runtime_version=17
build --tool_java_language_version=17
build --tool_java_runtime_version=17
build --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution
build:ci --color=yes
build:ci --experimental_remote_cache_compression
@@ -24,6 +19,7 @@ test:ci --verbose_failures --test_verbose_timeout_warnings
test:ci --test_env=GO_TEST_WRAP_TESTV=1
test:ci --experimental_ui_max_stdouterr_bytes=268435456
test:ci --test_timeout=150,300,900,3600
test:ci --flaky_test_attempts=5
test:race --test_timeout=1200,6000,18000,72000

try-import /data/bazel
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.4.1
8 changes: 6 additions & 2 deletions .github/licenserc.yml
Original file line number Diff line number Diff line change
@@ -52,8 +52,7 @@ header:
- "build/image/.ci_bazel"
- "**/OWNERS"
- "OWNERS_ALIASES"
- "pkg/disttask/**/mock/**/*_mock.go"
- "pkg/util/sqlexec/mock/*_mock.go"
- "pkg/**/mock/**/*_mock.go"
- "pkg/extension/enterprise/"
- "lightning/pkg/web/res_vfsdata.go"
- "lightning/web/docs/api.yaml"
@@ -65,4 +64,9 @@ header:
- "pkg/lightning/mydump/bytes.go"
- "pkg/lightning/mydump/examples/metadata"
- "tests/_utils/config/"
- "**/tidb-slow.log"
- "**/tidb-slow-*.log"
- "**/metadata"
- "pkg/extension/_import/generated-enterprise.go"

comment: on-failure
1 change: 1 addition & 0 deletions .github/workflows/integration-test-dumpling.yml
Original file line number Diff line number Diff line change
@@ -53,6 +53,7 @@ jobs:
- 8.0.22
- 8.0.26
- 8.0.37
- 8.4.3
runs-on: ubuntu-latest
timeout-minutes: 15
services:
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -11,7 +11,6 @@ profile.coverprofile
mysql_tester
tests/integrationtest/integration-test.out
tests/integrationtest/integrationtest_tidb-server
tests/integrationtest/portgenerator
tests/integrationtest/s/
tests/integrationtest/replayer/
*.fail.go
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ linters:
- gosec
- asciicheck
- bodyclose
- exportloopref
- copyloopvar
- rowserrcheck
- makezero
- durationcheck
@@ -26,6 +26,7 @@ linters:
- revive
- lll
- gofmt
- intrange

linters-settings:
staticcheck:
2,257 changes: 1,083 additions & 1,174 deletions DEPS.bzl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
# production environment, please refer to https://github.com/PingCAP-QE/artifacts/blob/main/dockerfiles/cd/builders/tidb/Dockerfile.

# Builder image
FROM golang:1.21 as builder
FROM golang:1.23 as builder
WORKDIR /tidb

COPY . .
2 changes: 1 addition & 1 deletion Dockerfile.enterprise
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@

# The current dockerfile is only used for development purposes.
# Builder image
FROM golang:1.21 as builder
FROM golang:1.23 as builder
WORKDIR /tidb

COPY . .
146 changes: 75 additions & 71 deletions Makefile

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions Makefile.common
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@

PROJECT=tidb
GOPATH ?= $(shell go env GOPATH)
GOMODCACHE ?= $(shell go env GOMODCACHE)
P=8

# Ensure GOPATH is set before running build process.
@@ -63,8 +64,8 @@ FILES_TIDB_TESTS := $$(find $$($(PACKAGE_DIRECTORIES_TIDB_TESTS)) -name "*.go")
UNCONVERT_PACKAGES_LIST := go list ./...| grep -vE "lightning\/checkpoints|lightning\/manual|lightning\/common|tidb-binlog\/proto\/go-binlog"
UNCONVERT_PACKAGES := $$($(UNCONVERT_PACKAGES_LIST))

FAILPOINT_ENABLE := find $$PWD/ -type d | grep -vE "(\.git|tools)" | xargs tools/bin/failpoint-ctl enable
FAILPOINT_DISABLE := find $$PWD/ -type d | grep -vE "(\.git|tools)" | xargs tools/bin/failpoint-ctl disable
FAILPOINT_ENABLE := find $$PWD/ -type d -mindepth 1 | grep -vE "(\.git|\.idea|tools)" | xargs tools/bin/failpoint-ctl enable
FAILPOINT_DISABLE := find $$PWD/ -type d -mindepth 1 | grep -vE "(\.git|\.idea|tools)" | xargs tools/bin/failpoint-ctl disable

LDFLAGS += -X "github.com/pingcap/tidb/pkg/parser/mysql.TiDBReleaseVersion=$(shell git describe --tags --dirty --always)"
LDFLAGS += -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=$(shell date -u '+%Y-%m-%d %H:%M:%S')"
@@ -131,3 +132,5 @@ ifneq ("$(CI)", "")
BAZEL_SYNC_CONFIG := --repository_cache=/home/jenkins/.tidb/tmp
endif
BAZEL_INSTRUMENTATION_FILTER := --instrument_test_targets --instrumentation_filter=//pkg/...,//br/...,//dumpling/...

NOGO_FLAG=true
8 changes: 7 additions & 1 deletion OWNERS
Original file line number Diff line number Diff line change
@@ -43,7 +43,6 @@ approvers:
- guo-shaoge
- hanfei1991
- hawkingrei
- hi-rustin
- hicqu
- holys
- hongyunyan
@@ -80,6 +79,7 @@ approvers:
- qw4990
- rebelice
- Reminiscent
- Rustin170506
- sdojjy
- shenli
- siddontang
@@ -98,6 +98,8 @@ approvers:
- winoros
- WizardXiao
- wjhuang2016
- wk989898
- wlwilliamx
- wshwsh12
- xhebox
- xiongjiwei
@@ -127,6 +129,7 @@ reviewers:
- dhysum
- fengou1
- fzzf678
- ghazalfamilyusa
- iamxy
- JmPotato
- js00070
@@ -140,13 +143,16 @@ reviewers:
- nolouch
- nongfushanquan
- pingyu
- RidRisR
- rleungx
- SeaRise
- shihongzhi
- spongedu
- tangwz
- terry1purcell
- Tjianke
- TonsnakeLin
- Tristan1900
- tsthght
- TszKitLo40
- xzhangxian1008
37 changes: 12 additions & 25 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@
aliases:
sig-critical-approvers-tidb-server:
- yudongusa
- easonn7
- BenMeadowcroft
sig-critical-approvers-tidb-lightning:
- yudongusa
- easonn7
- BenMeadowcroft
sig-critical-approvers-parser:
- yudongusa
- easonn7
- BenMeadowcroft
sig-approvers-autoid-service: # approvers for auto-id service
- bb7133
- tiancaiamao
@@ -30,7 +30,7 @@ aliases:
sig-approvers-executor-import: # approvers for importer part of executor pkg.
- D3Hunter
- gmhdbjd
- lance6716
- lance6716
sig-approvers-expression: # approvers for expression pkg
- windtalker
- XuHuaiyu
@@ -40,10 +40,7 @@ aliases:
- D3Hunter
- gmhdbjd
- lance6716
- lichunzhu
- okJiang
sig-approvers-domain: # approvers for domain pkg
- zimulala
- D3Hunter
- gmhdbjd
- lance6716
@@ -53,28 +50,24 @@ aliases:
- Benjamin2037
- tangenta
- wjhuang2016
- ywqzzy
- zimulala
- D3Hunter
- gmhdbjd
- lance6716
sig-approvers-disttask: # approvers for disttask pkg
- Benjamin2037
- D3Hunter
- gmhdbjd
- lance6716
- tangenta
- wjhuang2016
- ywqzzy
sig-approvers-dumpling: # approvers for dumpling module
- Benjamin2037
- gmhdbjd
- lichunzhu
- okJiang
- lance6716
- tangenta
sig-approvers-infoschema: # approvers for infoschema pkg
- zimulala
- wjhuang2016
- tangenta
- ywqzzy
- D3Hunter
- Benjamin2037
- gmhdbjd
@@ -83,15 +76,13 @@ aliases:
- gmhdbjd
- tangenta
- wjhuang2016
- ywqzzy
- zimulala
- D3Hunter
- lance6716
sig-approvers-owner: # approvers for `owner` pkg
- Benjamin2037
- lichunzhu
- tangenta
- wjhuang2016
- ywqzzy
- zimulala
- D3Hunter
sig-approvers-parser: # approvers for `parser` module.
- bb7133
- BornChanger
@@ -104,31 +95,27 @@ aliases:
- lance6716
- tangenta
- wjhuang2016
- ywqzzy
sig-approvers-table: # approvers for table packages.
- Benjamin2037
- cfzjywxk
- gmhdbjd
- tangenta
- wjhuang2016
- ywqzzy
- zimulala
sig-approvers-lock: # approvers for lock pkg
- Benjamin2037
- lance6716
- tangenta
- wjhuang2016
- zimulala
sig-approvers-tidb-binlog: # approvers for tidb-binlog module
- Benjamin2037
- gmhdbjd
- lichunzhu
- lance6716
sig-approvers-planner: # approvers for planner module
- AilinKid
- Rustin170506
- elsa0520
- fixdb
- hawkingrei
- hi-rustin
- qw4990
- time-and-fate
- winoros
Loading

0 comments on commit 07a5752

Please sign in to comment.