Conversation
|
@ericof thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment: To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
jackahl
left a comment
There was a problem hiding this comment.
Can't really judge this code wise, but
davisagli
left a comment
There was a problem hiding this comment.
Please make some way to opt out of incremental commits. Sometimes it's more important to have them, but sometimes I'm testing a migration and I want to be able to undo the entire thing in a single transaction.
|
@davisagli If you set the environment variable |
|
What was the reason for adding the intermediate commits, to be able to continue from a part of the import. Or to save/free up memory and write objects to disk? For the latter, there are transaction savepoints, right? |
|
@fredvd We had a client that was hitting the limit on postgres locks during a large import. I don't think that savepoints would be enough to avoid that. |
Closes #55
Comparison
Computer:
Source data
Destination
Timing
2711.06s user 242.56s system 96% cpu 50:58.50 total1458.01s user 65.67s system 94% cpu 26:48.19 total