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

"backend" commit slows create operations #2911

Closed
mih opened this issue Oct 11, 2018 · 2 comments
Closed

"backend" commit slows create operations #2911

mih opened this issue Oct 11, 2018 · 2 comments

Comments

@mih
Copy link
Member

mih commented Oct 11, 2018

Dataset create is much slower than what one assume it to be given the plain Git analogs that come to mind. One reason that the any standard dataset creation involves at least two commits. The first one is happening in the AnnexRepo constructor to set a default backend.

Alternatively, we could "manually" set the backend via AnnexRepo.set_default_backend(commit=False)
after a repo has been created, and handle this changeset in the final commit.

Ping #2908

@mih mih changed the title "backend" commit slows operations "backend" commit slows create operations Oct 11, 2018
@mih
Copy link
Member Author

mih commented Oct 11, 2018

Turns on the impact is only ~10ms. But the cosmetics are better with a single commit that comprises the entire initial setup.

@mih
Copy link
Member Author

mih commented May 7, 2019

With #3383 merged, this is now fixed in master.

@mih mih closed this as completed May 7, 2019
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