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

Disallow GET_LOCK() calls in vttablet. #3900

Merged
merged 1 commit into from
Jun 2, 2018

Conversation

dweitzman
Copy link
Member

Named locks are unsafe with server-side connection pool.

See #3631 for background.

Signed-off-by: David Weitzman dweitzman@pinterest.com

@sougou
Copy link
Contributor

sougou commented May 9, 2018

@danieltahara was asking for a resurrection of this feature. Let me figure out his use case, etc. before moving forward on this.

@sougou
Copy link
Contributor

sougou commented May 31, 2018

Looks like @danieltahara found a different way. I can merge this if you resolve the conflict.

Named locks are unsafe with server-side connection pooling.

See vitessio#3631 for background.

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
@dweitzman
Copy link
Member Author

Rebased

@sougou sougou merged commit 3e204fe into vitessio:master Jun 2, 2018
@dweitzman dweitzman deleted the disallow_get_lock branch June 19, 2018 05:36
notfelineit pushed a commit to planetscale/vitess that referenced this pull request Mar 12, 2024
…rNotifier to use a copy of the tables to prevent data races (vitessio#3900)

* backport of 3891

* feat: fix build issues

Signed-off-by: Manan Gupta <manan@planetscale.com>

---------

Signed-off-by: Manan Gupta <manan@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
andyedison pushed a commit to github/vitess-gh that referenced this pull request Jul 29, 2024
…rNotifier to use a copy of the tables to prevent data races (vitessio#3900)

* backport of 3891

* feat: fix build issues

Signed-off-by: Manan Gupta <manan@planetscale.com>

---------

Signed-off-by: Manan Gupta <manan@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
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