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

fix: When loading large zip it seems to hang. closes #257 and #302. #302

Merged
merged 8 commits into from
Jul 6, 2021

Conversation

mswertz
Copy link
Member

@mswertz mswertz commented Jun 20, 2021

This required better transaction isolation which is achieved by creating a clone of the metadata (Database) and only syncing changes to schema/tables/columns at commit. Alas required many changes.

closes #257. This required better transaction isolation which is achieved by creating a clone of the metadata (Database) and only syncing changes to schema/tables/columns at commit. Alas required many changes.
@mswertz mswertz changed the title fix: When loading large zip it seems to hang. closes #257. fix: When loading large zip it seems to hang. closes #257 and #302. Jun 22, 2021
@mswertz mswertz requested a review from sidohaakma June 23, 2021 12:25
+ "\n{firstName:\"Donald\",lastName:\"Mouse\"}"
+ "\n], RefTable:["
+ "\n{firstName:\"Donald\",lastName:\"Mouse\"}]){message}}");
execute(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

split because graphql doesn't ensure execution order so sometimes fails

@mswertz
Copy link
Member Author

mswertz commented Jun 28, 2021

Copy link
Contributor

@sidohaakma sidohaakma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like adding the schema layer in between which is good I think to decouple the import process from running the application. The feature is working, you can now click around in the application without being delayed by a running import.
However when I leave the upload page I can not track the progress anymore. So if users are clicking on other buttons during the upload, how do I know when it is finished? In the logging I can keep track of it, however the user does not. If the user starts a new large import postgres is running out of memory.

@sonarcloud
Copy link

sonarcloud bot commented Jul 6, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

89.1% 89.1% Coverage
0.0% 0.0% Duplication

@sidohaakma sidohaakma merged commit 019d4ff into master Jul 6, 2021
@sidohaakma sidohaakma deleted the fix/uploadprogress branch July 21, 2021 10:34
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