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

9/n: Temporarily clone generator runs in generation strategy to ensure 1:1 relationship to SQL #422

Closed

Conversation

lena-kashtelyan
Copy link
Contributor

Summary: To get in the stack of diffs that takes care of setting db_ids on all user-facing Ax objects that have a corresponding SQA object in DB, we temporarily clone generator runs before returning them from generation strategy, to avoid pointing one user-facing instance to two separate SQA objects. This will no longer be necessary after the next phase of the storage & perf project, taskified in T79183560

Differential Revision: D24786849

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Nov 6, 2020
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24786849

Elena Kashtelyan added 7 commits November 6, 2020 09:30
Differential Revision: D24601191

fbshipit-source-id: c7a8beb2c0c6c466607b9e882a1aa05206603ffb
Differential Revision: D24749685

fbshipit-source-id: a638c04b67cc0c3e2c20c4467470a6e1395e6afd
…pon re-creation

Differential Revision: D24601249

fbshipit-source-id: b29ff8618a44d4a116e7727336198935fe666df4
Differential Revision: D24601318

fbshipit-source-id: c055c9a7c2dabeb38627b49940b7ccbf61650bfa
Differential Revision: D24759873

fbshipit-source-id: a265e322b6aba6eecf852450004156c645c26de0
Differential Revision: D24764391

fbshipit-source-id: ece92d458c0facb1b98734ae260c346cdd15b675
…e 1:1 relationship to SQL (facebook#422)

Summary:
Pull Request resolved: facebook#422

To get in the stack of diffs that takes care of setting db_ids on all user-facing Ax objects that have a corresponding SQA object in DB, we temporarily clone generator runs before returning them from generation strategy, to avoid pointing one user-facing instance to two separate SQA objects. This will no longer be necessary after the next phase of the storage & perf project, taskified in T79183560

Differential Revision: D24786849

fbshipit-source-id: 4f101529461a9354d7301ce7dd63d908652031b8
lena-kashtelyan pushed a commit to lena-kashtelyan/Ax that referenced this pull request Nov 6, 2020
…e 1:1 relationship to SQL (facebook#422)

Summary:
Pull Request resolved: facebook#422

To get in the stack of diffs that takes care of setting db_ids on all user-facing Ax objects that have a corresponding SQA object in DB, we temporarily clone generator runs before returning them from generation strategy, to avoid pointing one user-facing instance to two separate SQA objects. This will no longer be necessary after the next phase of the storage & perf project, taskified in T79183560

Differential Revision: D24786849

fbshipit-source-id: d61d5e8281e9a8bbf270d9d1359774256ce599a8
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24786849

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D24786849

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d5b7de1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants