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 importManyWithAllVersions, refactor some import methods #6542

Merged
merged 10 commits into from
Oct 14, 2022

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Oct 13, 2022

Proposed Changes

  • remove importManyWithAllVersions method and use importMany instead. It made sense for legacy where there was no history, and it was needed to find all versions and fetch them. With harmony, it already traverse the history and bring them.
  • move some import methods from legacy to Importer aspect.
  • change applyVersion of the merge command to not run in parallel, so then it won't run importMany in parallel.
  • avoid reading the same files from the filesystem if they already sent to the client in the previous versions

@davidfirst davidfirst enabled auto-merge (squash) October 13, 2022 15:04
@davidfirst davidfirst enabled auto-merge (squash) October 14, 2022 15:09
@davidfirst davidfirst merged commit 8baf77b into master Oct 14, 2022
@davidfirst davidfirst deleted the remove-import-all-ver branch October 14, 2022 16:01
davidfirst added a commit that referenced this pull request Oct 18, 2022
In some cases, due to a regression introduced in #6542, the history of main is missing when on a lane. (see the e2e-test to get the exact scenario).
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.

None yet

2 participants