-
Notifications
You must be signed in to change notification settings - Fork 18
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
Conversation
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.
+ "\n{firstName:\"Donald\",lastName:\"Mouse\"}" | ||
+ "\n], RefTable:[" | ||
+ "\n{firstName:\"Donald\",lastName:\"Mouse\"}]){message}}"); | ||
execute( |
There was a problem hiding this comment.
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
There was a problem hiding this 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.
.../molgenis-emx2-io/src/test/java/org/molgenis/emx2/io/TestCohortCatalogueMultipleSchemas.java
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
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.