Conversation
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
e55467c to
c8b3de6
Compare
|
Not very familiar with the new CI but are those tests failing because they rely on Docker images (built on 1.13)? |
Some of them yes, but some seem to be compile errors in test code: You should be able to click through to |
|
I forgot that we hadn't upgraded. I think there are some significant gains to be had with the new defer optimizations. |
|
@derekperkins @dkhenry what are the steps needed to get the tests passing? build bootstrap images off this PR and push them to dockerhub? That will break other open PRs until this PR is merged, correct? |
|
I have merged #6800. A merge/rebase should get unit tests passing on this PR. |
|
@deepthi I wouldn't expect this to break other open PRs unless they're hitting some strange edge cases. |
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
bf63494 to
2a4b37f
Compare
|
All the CI tests still failing are due to: This is because we run the test using pre-built images (like |
|
Also, I missed that there’s no official go 1.15 docker image for Debian Stretch so for the upgrade we also need to move to Debian Buster. This is not super straight forward as there are major deprecations, package name changes and so on. @morgo worked on the Debian upgrade in #6129 but it was never pushed to the finish line. I'll see if I can revamp his PR but till it's merged I think we can consider this PR blocked. Feedback/ideas are welcome. |
|
Just doing some sanity tests before we do this merge Go 1.14.3TPCC - 2972.80 Go 1.15.3TPCC - 2906.25 So we are in the same ballpark ( we know theses tests have been giving 20% variance between runs ). I am going to continue to test to see if I can get definitive numbers, but this should be clear to merge once the new bootstraps get pushed and the CI builds pass @guidoiaquinti do you need me to push up new bootstrap images ? |
Hey @dkhenry, thanks for your comment. Were you doing your tests against this branch? Because I think we need #6833 before merging this as there are no go 1.15 docker image for Debian Stretch. Let me know if I've missed anything. Thanks! |
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
|
replaced with #7204 |
Description
This bumps the minimum golang version to 1.15. For prior art, the PR to bump to 1.12 was #5017 and for 1.13 was #5943.
Once this is approved and merged I'll open a similar PR for the
vitessio/websiterepo like vitessio/website#419Why
Go 1.14 release "improves the performance of most uses of defer to incur almost zero overhead compared to calling the deferred function directly. As a result, defer can now be used in performance-critical code without overhead concerns".
Go 1.15 release "includes substantial improvements to the linker, improves allocation for small objects at high core counts [...]".