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

Remove lock tables from batch push. #1

Open
ranjiteds opened this issue Apr 25, 2023 · 0 comments
Open

Remove lock tables from batch push. #1

ranjiteds opened this issue Apr 25, 2023 · 0 comments
Assignees

Comments

@ranjiteds
Copy link
Collaborator

Push batch data is done by adding locks on concepts / triplets tables. This makes system vulnerable to lock timeout issues.

Solution
As batch queries insertions are sequential it is safe to use inserted Id and rows affected to create concept Ids without needing to fetch them from the system again.
Tested in optimization_strict branch already. Need to run few more test.

@ranjiteds ranjiteds self-assigned this Apr 25, 2023
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

No branches or pull requests

1 participant