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

Make grant_access_to thread safe #265

Closed

Conversation

judahrand
Copy link

@judahrand judahrand commented Aug 11, 2022

resolves #

Description

This PR aims to prevent the 412 PreConditionFailed error which is referenced here: dbt-labs/docs.getdbt.com#634

Fixes: #266

Checklist

  • I have signed the CLA
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have run changie new to create a changelog entry

@cla-bot cla-bot bot added the cla:yes label Aug 11, 2022
@judahrand judahrand force-pushed the make-grant-access-to-threadsafe branch from 219ed54 to 0cb0157 Compare August 11, 2022 10:13
@judahrand judahrand force-pushed the make-grant-access-to-threadsafe branch from adf8c5b to fe0c041 Compare August 11, 2022 10:42
@judahrand
Copy link
Author

@jtcohen6 Is this something which you think is worth merging / looking at?

@jtcohen6
Copy link
Contributor

@judahrand Thanks for the bump! I'm going to mark this as ready for review by the Core-Adapters engineering team. They have a lot on their plate right now, so it might be a bit before one of them can take a look. I definitely think this would represent an improvement over the status quo, until we can revisit authorized views more holistically in the future.

@jtcohen6 jtcohen6 added the ready_for_review Externally contributed PR has functional approval, ready for code review from Core engineering label Aug 19, 2022
@cwelton
Copy link

cwelton commented Sep 26, 2022

Is this moving forward? Does the solution need work?

Running into the #266 and wondering when it will get fixed.

@colin-rogers-dbt colin-rogers-dbt changed the title Make grant_on_access thread safe Make grant_access_to thread safe Oct 13, 2022
@judahrand
Copy link
Author

@colin-rogers-dbt is this merge-able?

@colin-rogers-dbt
Copy link
Contributor

hey @judahrand apologies on the delay, I've been digging into this issue and might have an alternate solution to consider here as well. Have you tested this/seen if it has a performance impact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes ready_for_review Externally contributed PR has functional approval, ready for code review from Core engineering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CT-1032] grant_access_to only works reliably in single threaded mode
6 participants