Skip to content

mysql/gcpmysql: pass DialFunc directly to MySQL config#3632

Merged
vangent merged 2 commits intogoogle:masterfrom
giautm:g/gcpmysql-dialer
Nov 1, 2025
Merged

mysql/gcpmysql: pass DialFunc directly to MySQL config#3632
vangent merged 2 commits intogoogle:masterfrom
giautm:g/gcpmysql-dialer

Conversation

@giautm
Copy link
Contributor

@giautm giautm commented Oct 30, 2025

@giautm giautm changed the title g/gcpmysql dialer mysql/gcpmysql: pass DialFunc directly to config Oct 30, 2025
@giautm giautm changed the title mysql/gcpmysql: pass DialFunc directly to config mysql/gcpmysql: pass DialFunc directly to MySQL config Oct 30, 2025
@giautm giautm force-pushed the g/gcpmysql-dialer branch 3 times, most recently from 0465388 to 663900b Compare October 31, 2025 03:41
@giautm giautm force-pushed the g/gcpmysql-dialer branch from 663900b to cb5e273 Compare October 31, 2025 04:05
@giautm
Copy link
Contributor Author

giautm commented Oct 31, 2025

Let me update TF and verify the change before merge.

@giautm giautm force-pushed the g/gcpmysql-dialer branch from 4bce034 to 9ea2129 Compare October 31, 2025 10:38
@giautm
Copy link
Contributor Author

giautm commented Oct 31, 2025

Let me update TF and verify the change before merge.

Screenshot 2025-10-31 at 17 27 46

Verified.

@giautm giautm force-pushed the g/gcpmysql-dialer branch from 9ea2129 to 13872f0 Compare October 31, 2025 10:41
@vangent
Copy link
Contributor

vangent commented Oct 31, 2025

Why do you think this change is making it better? It's not obviously simpler to me

@giautm
Copy link
Contributor Author

giautm commented Oct 31, 2025

Why do you think this change is making it better? It's not obviously simpler to me

It removed the call to two sync/atomics for locking in two places. One in this package and another in the MySQL driver.

@vangent vangent merged commit 8badd8f into google:master Nov 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants