#1916: GetComponents checks out git repositories serially ---------------------------+------------------------------------------------ Reporter: hinder | Owner: Type: defect | Status: new Priority: major | Milestone: ET_2016_11 Component: GetComponents | Version: development version Keywords: | ---------------------------+------------------------------------------------ When called with --parallel, GetComponents still checks out git repositories serially. This may have been introduced with #83, but there is no information in that ticket about what was done.
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: confirmed Priority: major | Milestone: ET_2016_11 Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by knarf):
* status: new => confirmed
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: confirmed Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by knarf):
* milestone: ET_2016_11 =>
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: confirmed Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by rhaas):
I suspect that this is actually due to 6dc98e842bad513ddbc5724ebb4f521823574020 in #1395. If you follow the code then you can see that there is one call to checkout per TARGET instruction the CRL file. However the checkout subroutine serializes the first checkout of each call and since for git there is often one git repo per TARGET (since the url is unique) this means that effectively all git repos are checked out serially.
A full fix would be to track dependencies between checkouts (ie which combination of TARGET/CHECKOUT is contained in other TARGET/CHECKOUTs) and wait for dependencies to be satisfied before continuing.
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: review Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+----------------------------------------------- Changes (by rhaas):
* status: confirmed => review
Comment:
Pull request is here: https://github.com/gridaphobe/CRL/pull/4/files
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: review Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by rhaas):
Could someone review this please? If not I will push it without external review after Monday March 13th.
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: review Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by rhaas):
Applied as git hash d22e54d of CRL.
#1916: GetComponents checks out git repositories serially ----------------------------+----------------------------------------------- Reporter: hinder | Owner: Type: defect | Status: closed Priority: major | Milestone: Component: GetComponents | Version: development version Resolution: fixed | Keywords: ----------------------------+----------------------------------------------- Changes (by rhaas):
* status: review => closed * resolution: => fixed
trac@lists.einsteintoolkit.org