The sound distributed version control system

#769 [FATAL, HANG] clone is hanging

Closed on February 28, 2023
tankf33der on February 28, 2023
$ ./push.sh 
+ source ./functions.sh
+ cd ..
+ rm -rf pijul-tests-data
+ mkdir pijul-tests-data
+ cd pijul-tests-data
+ pijul init repo
Repository created at repo
+ pijul clone repo repo2
Repository created at /home/mpech/pijul-tests-data/repo2
Downloading changes [===========================] 0/0
           Applying [===========================] 0/0
pmeunier added a change on February 28, 2023
XQHABMC2FOMH7SZIYVYAR5MNH2DK2AOUCX2RJKZM3PDG2H5JIXYQC
main
tankf33der on February 28, 2023

Fixed.

tankf33der closed this discussion on February 28, 2023
pmeunier on February 28, 2023

Cool. What happened there was, sometimes a patch was downloaded but not its recursive dependencies.

Moreover, there were two async tasks in parallel before my patch: one to download the patches, another one to apply them, with rate limiting to avoid bothering the server needlessly.

I fixed that to include recursive dependencies, but then that’s a third task, and that task changes the order between patches, introducing their dependencies in the communication pipeline between the tasks.