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

CI: Address data races on memorytopo Conn.closed #15365

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

mattlord
Copy link
Contributor

@mattlord mattlord commented Feb 26, 2024

Description

This resolves the seen data races on the variable: https://github.com/vitessio/vitess/actions/runs/8054421738/job/21999131114?pr=15361

Click here to see example data races
2024-02-26T19:44:41.3026420Z ==================
2024-02-26T19:44:41.3026668Z WARNING: DATA RACE
2024-02-26T19:44:41.3026961Z Write at 0x00c001c0ef58 by goroutine 642:
2024-02-26T19:44:41.3027433Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).Close()
2024-02-26T19:44:41.3028200Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/memorytopo.go:144 +0x2f
2024-02-26T19:44:41.3028835Z   vitess.io/vitess/go/vt/topo.(*StatsConn).Close()
2024-02-26T19:44:41.3029477Z       /home/runner/work/vitess/vitess/go/vt/topo/stats_conn.go:212 +0x1fa
2024-02-26T19:44:41.3030043Z   vitess.io/vitess/go/vt/topo.(*Server).Close()
2024-02-26T19:44:41.3030653Z       /home/runner/work/vitess/vitess/go/vt/topo/server.go:340 +0x59
2024-02-26T19:44:41.3031194Z   vitess.io/vitess/go/vt/vtgate.(*Executor).Close()
2024-02-26T19:44:41.3031828Z       /home/runner/work/vitess/vitess/go/vt/vtgate/executor.go:1553 +0x95
2024-02-26T19:44:41.3032413Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).Stop()
2024-02-26T19:44:41.3033084Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain.go:216 +0x75
2024-02-26T19:44:41.3033716Z   vitess.io/vitess/go/vt/vtadmin.(*API).VTExplain.func11()
2024-02-26T19:44:41.3034365Z       /home/runner/work/vitess/vitess/go/vt/vtadmin/api.go:2157 +0x33
2024-02-26T19:44:41.3034899Z   runtime.deferreturn()
2024-02-26T19:44:41.3035418Z       /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/panic.go:477 +0x30
2024-02-26T19:44:41.3036215Z   vitess.io/vitess/go/vt/vtadmin_test.TestVTExplain.func2()
2024-02-26T19:44:41.3036946Z       /home/runner/work/vitess/vitess/go/vt/vtadmin/api_authz_test.go:2982 +0x40f
2024-02-26T19:44:41.3037483Z   testing.tRunner()
2024-02-26T19:44:41.3038006Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:44:41.3038497Z   testing.(*T).Run.func1()
2024-02-26T19:44:41.3039030Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x44
2024-02-26T19:44:41.3039397Z 
2024-02-26T19:44:41.3039568Z Previous read at 0x00c001c0ef58 by goroutine 2444:
2024-02-26T19:44:41.3040068Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).dial()
2024-02-26T19:44:41.3040795Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/memorytopo.go:132 +0x3d
2024-02-26T19:44:41.3041437Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).Get()
2024-02-26T19:44:41.3042116Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/file.go:155 +0x95
2024-02-26T19:44:41.3042697Z   vitess.io/vitess/go/vt/topo.(*StatsConn).Get()
2024-02-26T19:44:41.3043417Z       /home/runner/work/vitess/vitess/go/vt/topo/stats_conn.go:110 +0x27d
2024-02-26T19:44:41.3043994Z   vitess.io/vitess/go/vt/topo.(*Server).GetCellInfo()
2024-02-26T19:44:41.3044666Z       /home/runner/work/vitess/vitess/go/vt/topo/cell_info.go:71 +0x1bd
2024-02-26T19:44:41.3045230Z   vitess.io/vitess/go/vt/topo.(*Server).ConnForCell()
2024-02-26T19:44:41.3046000Z       /home/runner/work/vitess/vitess/go/vt/topo/server.go:269 +0x1a8
2024-02-26T19:44:41.3046571Z   vitess.io/vitess/go/vt/topo.(*Server).GetSrvKeyspace()
2024-02-26T19:44:41.3047242Z       /home/runner/work/vitess/vitess/go/vt/topo/srv_keyspace.go:681 +0x8b
2024-02-26T19:44:41.3048060Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).readThrottlerConfig()
2024-02-26T19:44:41.3049107Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:292 +0xf2
2024-02-26T19:44:41.3050002Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open.func1()
2024-02-26T19:44:41.3051002Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:475 +0x14c
2024-02-26T19:44:41.3051878Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open.func3()
2024-02-26T19:44:41.3052857Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:501 +0x4f
2024-02-26T19:44:41.3053399Z 
2024-02-26T19:44:41.3053523Z Goroutine 642 (running) created at:
2024-02-26T19:44:41.3053859Z   testing.(*T).Run()
2024-02-26T19:44:41.3054385Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x845
2024-02-26T19:44:41.3054958Z   vitess.io/vitess/go/vt/vtadmin_test.TestVTExplain()
2024-02-26T19:44:41.3055650Z       /home/runner/work/vitess/vitess/go/vt/vtadmin/api_authz_test.go:2966 +0x63c
2024-02-26T19:44:41.3056176Z   testing.tRunner()
2024-02-26T19:44:41.3056687Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:44:41.3057171Z   testing.(*T).Run.func1()
2024-02-26T19:44:41.3057702Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x44
2024-02-26T19:44:41.3058069Z 
2024-02-26T19:44:41.3058197Z Goroutine 2444 (finished) created at:
2024-02-26T19:44:41.3058763Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open()
2024-02-26T19:44:41.3059720Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:501 +0x58f
2024-02-26T19:44:41.3060597Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).servePrimary()
2024-02-26T19:44:41.3061520Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:463 +0x1eb
2024-02-26T19:44:41.3062718Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).execTransition()
2024-02-26T19:44:41.3063653Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:259 +0x131
2024-02-26T19:44:41.3064488Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).SetServingType()
2024-02-26T19:44:41.3065502Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:225 +0x3b1
2024-02-26T19:44:41.3066333Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*TabletServer).StartService()
2024-02-26T19:44:41.3067245Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/tabletserver.go:388 +0xfe
2024-02-26T19:44:41.3067965Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).newTablet()
2024-02-26T19:44:41.3068722Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vttablet.go:143 +0xed4
2024-02-26T19:44:41.3069466Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).buildTopology.func1()
2024-02-26T19:44:41.3070265Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:173 +0x70
2024-02-26T19:44:41.3070988Z   vitess.io/vitess/go/vt/discovery.(*FakeHealthCheck).AddFakeTablet()
2024-02-26T19:44:41.3071787Z       /home/runner/work/vitess/vitess/go/vt/discovery/fake_healthcheck.go:342 +0xaf0
2024-02-26T19:44:41.3072483Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).buildTopology()
2024-02-26T19:44:41.3073334Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:172 +0x1372
2024-02-26T19:44:41.3074059Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).initVtgateExecutor()
2024-02-26T19:44:41.3074854Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:57 +0x3f8
2024-02-26T19:44:41.3075563Z   vitess.io/vitess/go/vt/vtexplain.Init()
2024-02-26T19:44:41.3076207Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain.go:205 +0x765
2024-02-26T19:44:41.3076792Z   vitess.io/vitess/go/vt/vtadmin.(*API).VTExplain()
2024-02-26T19:44:41.3077417Z       /home/runner/work/vitess/vitess/go/vt/vtadmin/api.go:2153 +0x1759
2024-02-26T19:44:41.3078019Z   vitess.io/vitess/go/vt/vtadmin_test.TestVTExplain.func2()
2024-02-26T19:44:41.3078745Z       /home/runner/work/vitess/vitess/go/vt/vtadmin/api_authz_test.go:2982 +0x40f
2024-02-26T19:44:41.3079281Z   testing.tRunner()
2024-02-26T19:44:41.3079808Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:44:41.3080292Z   testing.(*T).Run.func1()
2024-02-26T19:44:41.3080828Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x44
2024-02-26T19:44:41.3081284Z ==================
2024-02-26T19:44:41.3081752Z --- FAIL: TestVTExplain (0.00s)
2024-02-26T19:44:41.3082230Z     --- FAIL: TestVTExplain/authorized_actor (0.09s)
2024-02-26T19:44:41.3082821Z         testing.go:1465: race detected during execution of test
2024-02-26T19:44:41.3083218Z FAIL
2024-02-26T19:44:41.3083474Z FAIL	vitess.io/vitess/go/vt/vtadmin	0.625s



2024-02-26T19:33:19.8270264Z ==================
2024-02-26T19:33:19.8270732Z WARNING: DATA RACE
2024-02-26T19:33:19.8271262Z Write at 0x00c0008f7588 by goroutine 549:
2024-02-26T19:33:19.8272311Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).Close()
2024-02-26T19:33:19.8273862Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/memorytopo.go:144 +0x2f
2024-02-26T19:33:19.8274961Z   vitess.io/vitess/go/vt/topo.(*StatsConn).Close()
2024-02-26T19:33:19.8276486Z       /home/runner/work/vitess/vitess/go/vt/topo/stats_conn.go:212 +0x1fa
2024-02-26T19:33:19.8277379Z   vitess.io/vitess/go/vt/topo.(*Server).Close()
2024-02-26T19:33:19.8278856Z       /home/runner/work/vitess/vitess/go/vt/topo/server.go:340 +0x59
2024-02-26T19:33:19.8279791Z   vitess.io/vitess/go/vt/vtgate.(*Executor).Close()
2024-02-26T19:33:19.8281168Z       /home/runner/work/vitess/vitess/go/vt/vtgate/executor.go:1553 +0x95
2024-02-26T19:33:19.8282458Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).Stop()
2024-02-26T19:33:19.8284061Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain.go:216 +0x75
2024-02-26T19:33:19.8285164Z   vitess.io/vitess/go/vt/vtexplain.TestJSONOutput.func1()
2024-02-26T19:33:19.8286449Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_test.go:201 +0x33
2024-02-26T19:33:19.8287646Z   runtime.deferreturn()
2024-02-26T19:33:19.8288559Z       /opt/hostedtoolcache/go/1.21.7/x64/src/runtime/panic.go:477 +0x30
2024-02-26T19:33:19.8289804Z   testing.tRunner()
2024-02-26T19:33:19.8290716Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:33:19.8291788Z   testing.(*T).Run.func1()
2024-02-26T19:33:19.8292360Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x44
2024-02-26T19:33:19.8292866Z 
2024-02-26T19:33:19.8293146Z Previous read at 0x00c0008f7588 by goroutine 728:
2024-02-26T19:33:19.8293968Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).dial()
2024-02-26T19:33:19.8295204Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/memorytopo.go:132 +0x3d
2024-02-26T19:33:19.8296840Z   vitess.io/vitess/go/vt/topo/memorytopo.(*Conn).Get()
2024-02-26T19:33:19.8298073Z       /home/runner/work/vitess/vitess/go/vt/topo/memorytopo/file.go:155 +0x95
2024-02-26T19:33:19.8299305Z   vitess.io/vitess/go/vt/topo.(*StatsConn).Get()
2024-02-26T19:33:19.8300251Z       /home/runner/work/vitess/vitess/go/vt/topo/stats_conn.go:110 +0x27d
2024-02-26T19:33:19.8301112Z   vitess.io/vitess/go/vt/topo.(*Server).GetCellInfo()
2024-02-26T19:33:19.8302453Z       /home/runner/work/vitess/vitess/go/vt/topo/cell_info.go:71 +0x1bd
2024-02-26T19:33:19.8303449Z   vitess.io/vitess/go/vt/topo.(*Server).ConnForCell()
2024-02-26T19:33:19.8304548Z       /home/runner/work/vitess/vitess/go/vt/topo/server.go:269 +0x1a8
2024-02-26T19:33:19.8305548Z   vitess.io/vitess/go/vt/topo.(*Server).GetSrvKeyspace()
2024-02-26T19:33:19.8306735Z       /home/runner/work/vitess/vitess/go/vt/topo/srv_keyspace.go:681 +0x8b
2024-02-26T19:33:19.8308148Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).readThrottlerConfig()
2024-02-26T19:33:19.8310016Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:292 +0xf2
2024-02-26T19:33:19.8311907Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open.func1()
2024-02-26T19:33:19.8313212Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:475 +0x14c
2024-02-26T19:33:19.8314150Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open.func3()
2024-02-26T19:33:19.8315128Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:501 +0x4f
2024-02-26T19:33:19.8315653Z 
2024-02-26T19:33:19.8315786Z Goroutine 549 (running) created at:
2024-02-26T19:33:19.8316123Z   testing.(*T).Run()
2024-02-26T19:33:19.8316639Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x845
2024-02-26T19:33:19.8317135Z   testing.runTests.func1()
2024-02-26T19:33:19.8317668Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:2054 +0x84
2024-02-26T19:33:19.8318137Z   testing.tRunner()
2024-02-26T19:33:19.8318639Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:33:19.8319104Z   testing.runTests()
2024-02-26T19:33:19.8319600Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:2052 +0x8ad
2024-02-26T19:33:19.8320068Z   testing.(*M).Run()
2024-02-26T19:33:19.8320850Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1925 +0xcd7
2024-02-26T19:33:19.8321436Z   main.main()
2024-02-26T19:33:19.8321852Z       _testmain.go:61 +0x2bd
2024-02-26T19:33:19.8322054Z 
2024-02-26T19:33:19.8322385Z Goroutine 728 (finished) created at:
2024-02-26T19:33:19.8322951Z   vitess.io/vitess/go/vt/vttablet/tabletserver/throttle.(*Throttler).Open()
2024-02-26T19:33:19.8323901Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/throttle/throttler.go:501 +0x58f
2024-02-26T19:33:19.8324761Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).servePrimary()
2024-02-26T19:33:19.8325672Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:463 +0x1eb
2024-02-26T19:33:19.8326492Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).execTransition()
2024-02-26T19:33:19.8327488Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:259 +0x131
2024-02-26T19:33:19.8328305Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*stateManager).SetServingType()
2024-02-26T19:33:19.8329205Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/state_manager.go:225 +0x3b1
2024-02-26T19:33:19.8330026Z   vitess.io/vitess/go/vt/vttablet/tabletserver.(*TabletServer).StartService()
2024-02-26T19:33:19.8330918Z       /home/runner/work/vitess/vitess/go/vt/vttablet/tabletserver/tabletserver.go:388 +0xfe
2024-02-26T19:33:19.8331815Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).newTablet()
2024-02-26T19:33:19.8332573Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vttablet.go:143 +0xed4
2024-02-26T19:33:19.8333304Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).buildTopology.func1()
2024-02-26T19:33:19.8334086Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:173 +0x70
2024-02-26T19:33:19.8334909Z   vitess.io/vitess/go/vt/discovery.(*FakeHealthCheck).AddFakeTablet()
2024-02-26T19:33:19.8335691Z       /home/runner/work/vitess/vitess/go/vt/discovery/fake_healthcheck.go:342 +0xaf0
2024-02-26T19:33:19.8336367Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).buildTopology()
2024-02-26T19:33:19.8337135Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:172 +0x1372
2024-02-26T19:33:19.8337843Z   vitess.io/vitess/go/vt/vtexplain.(*VTExplain).initVtgateExecutor()
2024-02-26T19:33:19.8338624Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_vtgate.go:57 +0x3f8
2024-02-26T19:33:19.8339201Z   vitess.io/vitess/go/vt/vtexplain.Init()
2024-02-26T19:33:19.8339820Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain.go:205 +0x765
2024-02-26T19:33:19.8340379Z   vitess.io/vitess/go/vt/vtexplain.initTest()
2024-02-26T19:33:19.8341035Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_test.go:69 +0x252
2024-02-26T19:33:19.8341842Z   vitess.io/vitess/go/vt/vtexplain.TestJSONOutput()
2024-02-26T19:33:19.8342548Z       /home/runner/work/vitess/vitess/go/vt/vtexplain/vtexplain_test.go:200 +0x1e8
2024-02-26T19:33:19.8343082Z   testing.tRunner()
2024-02-26T19:33:19.8343582Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1595 +0x261
2024-02-26T19:33:19.8344066Z   testing.(*T).Run.func1()
2024-02-26T19:33:19.8344588Z       /opt/hostedtoolcache/go/1.21.7/x64/src/testing/testing.go:1648 +0x44
2024-02-26T19:33:19.8345048Z ==================
2024-02-26T19:33:19.8345516Z --- FAIL: TestJSONOutput (0.14s)
2024-02-26T19:33:19.8345977Z     testing.go:1465: race detected during execution of test
2024-02-26T19:33:19.8346491Z FAIL
2024-02-26T19:33:19.8346766Z FAIL	vitess.io/vitess/go/vt/vtexplain	1.429s

We should backport this to v17 to limit CI test failures and work for other PRs that we backport.

Related Issue(s)

Checklist

  • "Backport to:" labels have been added if this change should be back-ported to release branches
  • If this change is to be back-ported to previous releases, a justification is included in the PR description
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on CI?
  • Documentation was added or is not required

This resolves the seen data races on the variable.

Signed-off-by: Matt Lord <mattalord@gmail.com>
Copy link
Contributor

vitess-bot bot commented Feb 26, 2024

Review Checklist

Hello reviewers! 👋 Please follow this checklist when reviewing this Pull Request.

General

  • Ensure that the Pull Request has a descriptive title.
  • Ensure there is a link to an issue (except for internal cleanup and flaky test fixes), new features should have an RFC that documents use cases and test cases.

Tests

  • Bug fixes should have at least one unit or end-to-end test, enhancement and new features should have a sufficient number of tests.

Documentation

  • Apply the release notes (needs details) label if users need to know about this change.
  • New features should be documented.
  • There should be some code comments as to why things are implemented the way they are.
  • There should be a comment at the top of each new or modified test to explain what the test does.

New flags

  • Is this flag really necessary?
  • Flag names must be clear and intuitive, use dashes (-), and have a clear help text.

If a workflow is added or modified:

  • Each item in Jobs should be named in order to mark it as required.
  • If the workflow needs to be marked as required, the maintainer team must be notified.

Backward compatibility

  • Protobuf changes should be wire-compatible.
  • Changes to _vt tables and RPCs need to be backward compatible.
  • RPC changes should be compatible with vitess-operator
  • If a flag is removed, then it should also be removed from vitess-operator and arewefastyet, if used there.
  • vtctl command output order should be stable and awk-able.

@vitess-bot vitess-bot bot added NeedsBackportReason If backport labels have been applied to a PR, a justification is required NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsIssue A linked issue is missing for this Pull Request NeedsWebsiteDocsUpdate What it says labels Feb 26, 2024
@mattlord mattlord added Backport to: release-17.0 Backport to: release-18.0 Needs to be back ported to release-18.0 Backport to: release-19.0 Needs to be back ported to release-19.0 and removed NeedsDescriptionUpdate The description is not clear or comprehensive enough, and needs work NeedsWebsiteDocsUpdate What it says NeedsIssue A linked issue is missing for this Pull Request NeedsBackportReason If backport labels have been applied to a PR, a justification is required labels Feb 26, 2024
@github-actions github-actions bot added this to the v20.0.0 milestone Feb 26, 2024
@mattlord mattlord marked this pull request as ready for review February 26, 2024 20:49
@mattlord mattlord changed the title CI: Address data races on memorytopo.closed CI: Address data races on memorytopo.Conn.closed Feb 26, 2024
@mattlord mattlord changed the title CI: Address data races on memorytopo.Conn.closed CI: Address data races on memorytopo Conn.closed Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.41%. Comparing base (696fe0e) to head (2974d0a).
Report is 57 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15365      +/-   ##
==========================================
- Coverage   67.41%   65.41%   -2.01%     
==========================================
  Files        1560     1561       +1     
  Lines      192752   193596     +844     
==========================================
- Hits       129952   126647    -3305     
- Misses      62800    66949    +4149     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

💯

@deepthi deepthi merged commit aba0d83 into vitessio:main Feb 27, 2024
118 checks passed
@deepthi deepthi deleted the memorytopo_flakes branch February 27, 2024 12:46
vitess-bot pushed a commit that referenced this pull request Feb 27, 2024
Signed-off-by: Matt Lord <mattalord@gmail.com>
mattlord added a commit that referenced this pull request Feb 27, 2024
…) (#15369)

Signed-off-by: Matt Lord <mattalord@gmail.com>
Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
mattlord added a commit that referenced this pull request Feb 27, 2024
…) (#15370)

Signed-off-by: Matt Lord <mattalord@gmail.com>
Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
mattlord added a commit that referenced this pull request Mar 6, 2024
…) (#15371)

Signed-off-by: Matt Lord <mattalord@gmail.com>
Co-authored-by: vitess-bot[bot] <108069721+vitess-bot[bot]@users.noreply.github.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
notfelineit pushed a commit to planetscale/vitess that referenced this pull request Mar 12, 2024
… data races on memorytopo Conn.closed (vitessio#4555)

* backport of 4549

* Fix import conflict

Signed-off-by: Matt Lord <mattalord@gmail.com>

---------

Signed-off-by: Matt Lord <mattalord@gmail.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport to: release-18.0 Needs to be back ported to release-18.0 Backport to: release-19.0 Needs to be back ported to release-19.0 Component: Build/CI Flakes Type: Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants