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

*: upgrade grpc to 1.23.0 #12055

Merged
merged 14 commits into from
Sep 12, 2019
Merged

*: upgrade grpc to 1.23.0 #12055

merged 14 commits into from
Sep 12, 2019

Conversation

lysu
Copy link
Contributor

@lysu lysu commented Sep 5, 2019

What problem does this PR solve?

test upgrade grpc from 1.17.0 to 1.23.0 in master

see more detail https://github.com/grpc/grpc-go/releases

What is changed and how it works?

go.mod

Check List

Tests

  • No code

Code changes

  • go.mod

Side effects

  • n/a

Related changes

  • n/a

This change is Reviewable

@lysu
Copy link
Contributor Author

lysu commented Sep 5, 2019

/run-all-tests

@lysu
Copy link
Contributor Author

lysu commented Sep 5, 2019

/bench

@sre-bot
Copy link
Contributor

sre-bot commented Sep 5, 2019

@@                               Benchmark Diff                               @@
================================================================================
--- tidb: 161ff3c9abc3f70d7a6ad5656e7ecf60a5cb45f5
+++ tidb: 969c97a611ac06149362b767450050113277dafd
tikv: 4950eb1b6b996f8d1211033ba85eb7b2a51a67cf
pd: 144031c1bbde7152540e67b40fe32d01cc395c9f
================================================================================
tidb_max_cpu: 19.43, delta: 0.23%
tikv_max_cpu: 13.03, delta: 1.84%
tidb_max_memory: 1781.82 MiB, delta: -3.78%
tikv_max_memory: 59912.88 MiB, delta: 0.03%

Measured tpmC (NewOrders): 21966.52, delta: 0.08%

https://perf.pingcap.com

@sre-bot
Copy link
Contributor

sre-bot commented Sep 5, 2019

@@                               Benchmark Diff                               @@
================================================================================
--- tidb: 161ff3c9abc3f70d7a6ad5656e7ecf60a5cb45f5
+++ tidb: 969c97a611ac06149362b767450050113277dafd
tikv: 4950eb1b6b996f8d1211033ba85eb7b2a51a67cf
pd: 144031c1bbde7152540e67b40fe32d01cc395c9f
================================================================================
test-1: < oltp_insert >
    * QPS : 21382.60 ± 0.6473% (std=78.13) delta: -0.16%
    * AvgMs : 11.96 ± 0.6185% (std=0.04) delta: 0.15%
    * PercentileMs99 : 43.08 ± 1.0864% (std=0.38) delta: 1.10%
            
test-2: < oltp_update_non_index >
    * QPS : 29546.30 ± 0.3619% (std=62.06) delta: 0.31%
    * AvgMs : 8.66 ± 0.3464% (std=0.02) delta: -0.32%
    * PercentileMs99 : 30.48 ± 1.0827% (std=0.27) delta: -0.37%
            
test-3: < oltp_read_write >
    * QPS : 37054.96 ± 0.0951% (std=24.69) delta: 0.64%
    * AvgMs : 138.71 ± 0.0811% (std=0.07) delta: -0.64%
    * PercentileMs99 : 257.95 ± 0.0000% (std=0.00) delta: 0.00%
            
test-4: < oltp_point_select >
    * QPS : 74898.36 ± 1.5448% (std=697.57) delta: 1.20%
    * AvgMs : 3.42 ± 1.5214% (std=0.03) delta: -1.16%
    * PercentileMs99 : 7.48 ± 2.4325% (std=0.10) delta: 0.70%
            
test-5: < oltp_update_index >
    * QPS : 17006.34 ± 0.3784% (std=39.97) delta: -0.26%
    * AvgMs : 15.05 ± 0.3987% (std=0.04) delta: 0.24%
    * PercentileMs99 : 48.34 ± 0.0000% (std=0.00) delta: 0.73%
            

https://perf.pingcap.com

@codecov
Copy link

codecov bot commented Sep 6, 2019

Codecov Report

Merging #12055 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #12055   +/-   ##
===========================================
  Coverage   81.3509%   81.3509%           
===========================================
  Files           453        453           
  Lines         97426      97426           
===========================================
  Hits          79257      79257           
  Misses        12500      12500           
  Partials       5669       5669

@lysu
Copy link
Contributor Author

lysu commented Sep 6, 2019

/run-all-tests
/bench

@sre-bot
Copy link
Contributor

sre-bot commented Sep 6, 2019

@@                               Benchmark Diff                               @@
================================================================================
--- tidb: 0fbd21c0851e01f1508ca5baf99010294c438dc5
+++ tidb: acfecf12c66ba4572e9dd88a19abbcec2982e1bf
tikv: 7f7a3a682fad7389ba239c58e42159a94285869b
pd: 38ff102546450348b895c14aaa17ad440d02d037
================================================================================
tidb_max_cpu: 19.54, delta: 1.35%
tikv_max_cpu: 13.23, delta: -0.20%
tidb_max_memory: 1805.70 MiB, delta: -1.43%
tikv_max_memory: 59898.45 MiB, delta: 0.00%

Measured tpmC (NewOrders): 21945.82, delta: 0.17%

https://perf.pingcap.com

@sre-bot
Copy link
Contributor

sre-bot commented Sep 6, 2019

@@                               Benchmark Diff                               @@
================================================================================
--- tidb: 2ef6f46a6377dbaa045c9041b4ae797dc742a2ef
+++ tidb: acfecf12c66ba4572e9dd88a19abbcec2982e1bf
tikv: 7f7a3a682fad7389ba239c58e42159a94285869b
pd: ca5cae673101cdec5a9f5dbbe7d4b6c8d4928977
================================================================================
test-1: < oltp_insert >
    * QPS : 21317.36 ± 0.6289% (std=87.85) delta: -0.21%
    * AvgMs : 12.00 ± 0.6457% (std=0.05) delta: 0.22%
    * PercentileMs99 : 42.93 ± 2.8980% (std=0.79) delta: 0.74%
            
test-2: < oltp_update_non_index >
    * QPS : 29441.50 ± 0.5575% (std=105.45) delta: -0.46%
    * AvgMs : 8.69 ± 0.5983% (std=0.03) delta: 0.44%
    * PercentileMs99 : 30.81 ± 0.0000% (std=0.00) delta: 0.72%
            
test-3: < oltp_read_write >
    * QPS : 37019.30 ± 0.1555% (std=44.46) delta: -0.09%
    * AvgMs : 138.85 ± 0.1484% (std=0.17) delta: 0.08%
    * PercentileMs99 : 257.95 ± 0.0000% (std=0.00) delta: 0.00%
            
test-4: < oltp_point_select >
    * QPS : 75666.53 ± 1.9973% (std=879.11) delta: 1.90%
    * AvgMs : 3.38 ± 1.8913% (std=0.04) delta: -1.80%
    * PercentileMs99 : 7.46 ± 2.0923% (std=0.10) delta: 0.35%
            
test-5: < oltp_update_index >
    * QPS : 17104.92 ± 0.4784% (std=51.10) delta: 0.38%
    * AvgMs : 14.96 ± 0.4812% (std=0.05) delta: -0.40%
    * PercentileMs99 : 47.99 ± 1.0877% (std=0.43) delta: 0.00%
            

https://perf.pingcap.com

go.mod Outdated Show resolved Hide resolved
owner/fail_test.go Outdated Show resolved Hide resolved
var stop sync.WaitGroup
stop.Add(1)
go func() {
if err = srv.Serve(ln); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we call this function in this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

because this test will be failed after upgrade grpc due can not establish connection to net.Listen("unix", "new_session:12379"), old grpc can be ready before handshake success, but in new grpc this changed(grpc/grpc-go#2406), so we need setup a grpc serve for listened port

@lysu
Copy link
Contributor Author

lysu commented Sep 10, 2019

/rebuild

Copy link
Contributor

@tiancaiamao tiancaiamao left a comment

Choose a reason for hiding this comment

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

go mod tidy fail

@@ -20,3 +20,5 @@ require (
gopkg.in/yaml.v2 v2.2.2 // indirect
honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3
)

go 1.13
Copy link
Contributor

Choose a reason for hiding this comment

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

....

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

It's better not to mix the bugfixes and package upgrades together in one PR.

store/tikv/test_util.go Show resolved Hide resolved
@tiancaiamao
Copy link
Contributor

LGTM

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 12, 2019
Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Sep 12, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Sep 12, 2019

Your auto merge job has been accepted, waiting for 12164, 12083

@sre-bot
Copy link
Contributor

sre-bot commented Sep 12, 2019

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tikv 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.

5 participants