Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telemetry: add copr-cache, tiflash, cluster index, async commit #23454

Merged
merged 21 commits into from
Mar 23, 2021

Conversation

lzmhhh123
Copy link
Contributor

Signed-off-by: lzmhhh123 lzmhhh123@gmail.com

What problem does this PR solve?

Problem Summary: as title says

What is changed and how it works?

How it Works:

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
    admin show telemetry

Side effects

  • Performance regression
    • Consumes more CPU

Release note

  • telemetry: add copr-cache, tiflash, cluster index, async commit

Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
@lzmhhh123 lzmhhh123 requested a review from a team as a code owner March 22, 2021 08:59
@lzmhhh123 lzmhhh123 requested review from wshwsh12 and removed request for a team March 22, 2021 08:59
@ti-chi-bot ti-chi-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Mar 22, 2021
@lzmhhh123
Copy link
Contributor Author

/cc @breeswish

Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
@github-actions github-actions bot added sig/execution SIG execution sig/sql-infra SIG: SQL Infra labels Mar 22, 2021
length := len(telemetry.CoprocessorCacheTelemetry.MinuteWindow)
if length == 0 || time.Since(*telemetry.CoprocessorCacheTelemetry.MinuteWindow[length-1].BeginAt) >= time.Minute {
var i int
for i = 0; i < length && time.Since(*telemetry.CoprocessorCacheTelemetry.MinuteWindow[i].BeginAt) >= 6*time.Hour; i++ {
Copy link
Collaborator

@kaixu120811 kaixu120811 Mar 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May use some meaningful definition to instead of 6, such as TELEMETRY_UPDATE_INTERVAL ?

if length == 0 || time.Since(*telemetry.CoprocessorCacheTelemetry.MinuteWindow[length-1].BeginAt) >= time.Minute {
var i int
for i = 0; i < length && time.Since(*telemetry.CoprocessorCacheTelemetry.MinuteWindow[i].BeginAt) >= 6*time.Hour; i++ {
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any efficient way to skip the expired data? Forgive me , because I have no information about the refresh method of the telemetry verb.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another way is to move the logic to getTelemetryFeatureUsageInfo. It's a background thread.

}
if ratio >= 0.01 {
telemetry.CoprocessorCacheTelemetry.MinuteWindow[length-1].P1.Add(1)
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest add else to skip following un-hit check.
E.G. ratio = 0.005, we have checked ratio > 0 and ratio < 0.01, all the following check could be passed such as whether ratio >= 0.1, ratio >= 0.2, etc.

Copy link
Collaborator

@kaixu120811 kaixu120811 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestion, thx.

Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
}

// async commit
stmt, err = exec.ParseWithParams(context.TODO(), `show config where name = 'storage.enable-async-apply-prewrite'`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Async-commit is controlled by a session variable: tidb_enable_async_commit. You can remove codes about this part. I will add it later.

@@ -34,6 +34,8 @@ const (
Prompt = "telemetry"
// ReportInterval is the interval of the report.
ReportInterval = 24 * time.Hour
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change it to 6 hour and change window to 1 hour~

@@ -34,6 +34,8 @@ const (
Prompt = "telemetry"
// ReportInterval is the interval of the report.
ReportInterval = 24 * time.Hour
// UpdateInterval means the max time window for saved data.
UpdateInterval = 6 * time.Hour
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can call it WindowInterval for better readability?

return recordSet, nil
}

// CountTelemetry records the telemetry.
func CountTelemetry(s *session) {
telemetry.CoprocessorCacheTelemetry.Lock.Lock()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lock seems to be very destructive.. I'm very worried about its performance.

// CoprCacheHitNum is to record coprocessor cache hit times for one statement.
CoprCacheHitNum atomic2.Uint64
// CopRespTimes is to record coprocessor response times for one statement.
CopRespTimes atomic2.Uint64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CopRespTimes atomic2.Uint64
CoprRespTimes atomic2.Uint64

By the way what is response times? Is it number of received coprocessor responses?

sessionctx/variable/session.go Show resolved Hide resolved
// cluster index
exec := ctx.(sqlexec.RestrictedSQLExecutor)
stmt, err := exec.ParseWithParams(context.TODO(), `
SELECT sha2(TABLE_NAME, 256) name, TIDB_PK_TYPE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's truncate it~

Suggested change
SELECT sha2(TABLE_NAME, 256) name, TIDB_PK_TYPE
SELECT left(sha2(TABLE_NAME, 256), 6) name, TIDB_PK_TYPE

telemetry/data_feature_usage.go Show resolved Hide resolved
@lzmhhh123
Copy link
Contributor Author

/bench

Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
@lzmhhh123 lzmhhh123 requested a review from a team as a code owner March 23, 2021 03:23
@lzmhhh123 lzmhhh123 requested review from XuHuaiyu and removed request for a team March 23, 2021 03:23
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
@lzmhhh123
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: c876042

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Mar 23, 2021
@youjiali1995
Copy link
Contributor

/merge

@youjiali1995
Copy link
Contributor

[2021-03-23T10:24:44.393Z] ==================
[2021-03-23T10:24:44.393Z] WARNING: DATA RACE
[2021-03-23T10:24:44.394Z] Write at 0x00c0308de370 by goroutine 311:
[2021-03-23T10:24:44.394Z]   github.com/pingcap/tidb/session.(*session).SetProcessInfo()
[2021-03-23T10:24:44.394Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/session.go:1138 +0x8ff
[2021-03-23T10:24:44.394Z]   github.com/pingcap/tidb/session.(*session).ExecuteStmt()
[2021-03-23T10:24:44.394Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/session.go:1407 +0x387
[2021-03-23T10:24:44.394Z]   github.com/pingcap/tidb/util/testkit.(*TestKit).Exec()
[2021-03-23T10:24:44.395Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:170 +0x2f1
[2021-03-23T10:24:44.395Z]   github.com/pingcap/tidb/util/testkit.(*TestKit).MustExec()
[2021-03-23T10:24:44.395Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:216 +0x91
[2021-03-23T10:24:44.395Z]   github.com/pingcap/tidb/session_test.(*testPessimisticSuite).TestInnodbLockWaitTimeout()
[2021-03-23T10:24:44.395Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/pessimistic_test.go:754 +0x1868
[2021-03-23T10:24:44.396Z]   runtime.call32()
[2021-03-23T10:24:44.396Z]       /usr/local/go/src/runtime/asm_amd64.s:539 +0x3a
[2021-03-23T10:24:44.396Z]   reflect.Value.Call()
[2021-03-23T10:24:44.396Z]       /usr/local/go/src/reflect/value.go:321 +0xd3
[2021-03-23T10:24:44.396Z]   github.com/pingcap/check.(*suiteRunner).forkTest.func1()
[2021-03-23T10:24:44.396Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850 +0x9aa
[2021-03-23T10:24:44.396Z]   github.com/pingcap/check.(*suiteRunner).forkCall.func1()
[2021-03-23T10:24:44.396Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739 +0x113
[2021-03-23T10:24:44.396Z] 
[2021-03-23T10:24:44.397Z] Previous read at 0x00c0308de370 by goroutine 111:
[2021-03-23T10:24:44.397Z]   github.com/pingcap/tidb/session.(*session).ExecuteStmt()
[2021-03-23T10:24:44.397Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/session.go:1444 +0x1256
[2021-03-23T10:24:44.397Z]   github.com/pingcap/tidb/util/testkit.(*TestKit).Exec()
[2021-03-23T10:24:44.397Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:170 +0x2f1
[2021-03-23T10:24:44.397Z]   github.com/pingcap/tidb/util/testkit.(*TestKit).MustExec()
[2021-03-23T10:24:44.397Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:216 +0x91
[2021-03-23T10:24:44.397Z]   github.com/pingcap/tidb/session_test.(*testPessimisticSuite).TestInnodbLockWaitTimeout.func2()
[2021-03-23T10:24:44.397Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/pessimistic_test.go:711 +0x16e
[2021-03-23T10:24:44.397Z] 
[2021-03-23T10:24:44.397Z] Goroutine 311 (running) created at:
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.(*suiteRunner).forkCall()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:734 +0x4a3
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.(*suiteRunner).forkTest()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:832 +0x1b9
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.(*suiteRunner).doRun()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:666 +0x13a
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.(*suiteRunner).run()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:696 +0x13f
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.Run()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/run.go:150 +0x5a
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.RunAll()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/run.go:136 +0x906
[2021-03-23T10:24:44.398Z]   github.com/pingcap/check.TestingT()
[2021-03-23T10:24:44.398Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/run.go:99 +0x765
[2021-03-23T10:24:44.398Z]   github.com/pingcap/tidb/session.TestT()
[2021-03-23T10:24:44.399Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/tidb_test.go:49 +0x18d
[2021-03-23T10:24:44.399Z]   testing.tRunner()
[2021-03-23T10:24:44.399Z]       /usr/local/go/src/testing/testing.go:909 +0x199
[2021-03-23T10:24:44.399Z] 
[2021-03-23T10:24:44.399Z] Goroutine 111 (finished) created at:
[2021-03-23T10:24:44.399Z]   github.com/pingcap/tidb/session_test.(*testPessimisticSuite).TestInnodbLockWaitTimeout()
[2021-03-23T10:24:44.399Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/pessimistic_test.go:705 +0xbbb
[2021-03-23T10:24:44.399Z]   runtime.call32()
[2021-03-23T10:24:44.399Z]       /usr/local/go/src/runtime/asm_amd64.s:539 +0x3a
[2021-03-23T10:24:44.399Z]   reflect.Value.Call()
[2021-03-23T10:24:44.399Z]       /usr/local/go/src/reflect/value.go:321 +0xd3
[2021-03-23T10:24:44.399Z]   github.com/pingcap/check.(*suiteRunner).forkTest.func1()
[2021-03-23T10:24:44.399Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850 +0x9aa
[2021-03-23T10:24:44.399Z]   github.com/pingcap/check.(*suiteRunner).forkCall.func1()
[2021-03-23T10:24:44.399Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739 +0x113
[2021-03-23T10:24:44.399Z] ==================

Copy link
Collaborator

@kaixu120811 kaixu120811 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a performance related question.

planner/core/telemetry.go Show resolved Hide resolved
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com>
@ti-chi-bot ti-chi-bot removed the status/can-merge Indicates a PR has been approved by a committer. label Mar 23, 2021
@lzmhhh123
Copy link
Contributor Author

/run-all-tests

@lzmhhh123
Copy link
Contributor Author

data race:

[2021-03-23T10:46:51.186Z] WARNING: DATA RACE
[2021-03-23T10:46:51.186Z] Write at 0x00c05a73da50 by goroutine 850:
[2021-03-23T10:46:51.186Z]   github.com/pingcap/tidb/executor.(*TableReaderExecutor).Close()
[2021-03-23T10:46:51.186Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/table_reader.go:352 +0x28f
[2021-03-23T10:46:51.186Z]   github.com/pingcap/tidb/executor.(*ParallelNestedLoopApplyExec).Close()
[2021-03-23T10:46:51.186Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/parallel_apply.go:162 +0xa8
[2021-03-23T10:46:51.186Z]   github.com/pingcap/tidb/executor.(*baseExecutor).Close()
[2021-03-23T10:46:51.186Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/executor.go:172 +0xad
[2021-03-23T10:46:51.186Z]   github.com/pingcap/tidb/executor.(*ProjectionExec).Close()
[2021-03-23T10:46:51.186Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/projection.go:320 +0x255
[2021-03-23T10:46:51.186Z]   github.com/pingcap/tidb/executor.(*recordSet).Close()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/adapter.go:166 +0x59
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/session.(*execStmtResult).Close()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/session/session.go:1587 +0x7b
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/util/testkit.(*TestKit).QueryToErr()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:306 +0x56a
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor_test.(*testSuite).TestApplyGoroutinePanic()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/parallel_apply_test.go:587 +0x546
[2021-03-23T10:46:51.187Z]   runtime.call32()
[2021-03-23T10:46:51.187Z]       /usr/local/go/src/runtime/asm_amd64.s:539 +0x3a
[2021-03-23T10:46:51.187Z]   reflect.Value.Call()
[2021-03-23T10:46:51.187Z]       /usr/local/go/src/reflect/value.go:321 +0xd3
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).forkTest.func1()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:850 +0x9aa
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).forkCall.func1()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:739 +0x113
[2021-03-23T10:46:51.187Z] 
[2021-03-23T10:46:51.187Z] Previous read at 0x00c05a73da50 by goroutine 1092:
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.(*tableResultHandler).nextChunk()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/table_reader.go:329 +0x69
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.(*TableReaderExecutor).Next()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/table_reader.go:206 +0x21e
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.Next()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/executor.go:277 +0x27d
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.(*ParallelNestedLoopApplyExec).outerWorker()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/parallel_apply.go:202 +0x5a9
[2021-03-23T10:46:51.187Z] 
[2021-03-23T10:46:51.187Z] Goroutine 850 (running) created at:
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).forkCall()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:734 +0x4a3
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).forkTest()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:832 +0x1b9
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).doRun()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:666 +0x13a
[2021-03-23T10:46:51.187Z]   github.com/pingcap/check.(*suiteRunner).asyncRun.func1()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/pkg/mod/github.com/pingcap/check@v0.0.0-20200212061837-5e12011dc712/check.go:650 +0xf7
[2021-03-23T10:46:51.187Z] 
[2021-03-23T10:46:51.187Z] Goroutine 1092 (running) created at:
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.(*ParallelNestedLoopApplyExec).Next()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/parallel_apply.go:137 +0xdb
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.Next()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/executor.go:277 +0x27d
[2021-03-23T10:46:51.187Z]   github.com/pingcap/tidb/executor.(*projectionInputFetcher).run()
[2021-03-23T10:46:51.187Z]       /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/executor/projection.go:373 +0x48f

It's not about the PR.

@lzmhhh123
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: e4dfe12

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Mar 23, 2021
@lzmhhh123
Copy link
Contributor Author

/run-sqllogic-test-2

@youjiali1995
Copy link
Contributor

/run-unit-test

@youjiali1995
Copy link
Contributor

//run-unit-test

@lzmhhh123
Copy link
Contributor Author

Leak test fail:

[2021-03-23T11:56:54.060Z] FAIL: tidb_test.go:752: tidbTestSerialSuite.TestErrorNoRollback
[2021-03-23T11:56:54.060Z] 
[2021-03-23T11:56:54.060Z] tidb_test.go:805:
[2021-03-23T11:56:54.060Z]     c.Assert(err, IsNil)
[2021-03-23T11:56:54.060Z] ... value *errors.withStack = dsn:root@tcp(127.0.0.1:11716)/test?tls=client-cert-rollback-test&tidb_int_primary_key_default_as_clustered=true: sql: database is closed ("dsn:root@tcp(127.0.0.1:11716)/test?tls=client-cert-rollback-test&tidb_int_primary_key_default_as_clustered=true: sql: database is closed")

@lzmhhh123
Copy link
Contributor Author

/merge

@lzmhhh123 lzmhhh123 merged commit 5243049 into pingcap:master Mar 23, 2021
@lzmhhh123 lzmhhh123 deleted the dev/telemetry_copr_cache branch March 23, 2021 12:27
ti-srebot pushed a commit to ti-srebot/tidb that referenced this pull request Mar 23, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-5.0 in PR #23489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-cherry-pick-release-5.0 sig/execution SIG execution sig/sql-infra SIG: SQL Infra sig/transaction SIG:Transaction size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants