The sound distributed version control system

#882 [CONSISTENCY ALARM] partial clone sometimes fails

Opened by tankf33der on February 14, 2024
tankf33der on February 14, 2024

use these exact steps to repeat:

$ cd pijul-tests
$ git pull
# EXECUTE MANUALLY FAST, it FAILS
$ ./clone-loop.sh
 + touch mike-kfpe
+ add
+ pijul add -r .
Tracked 1 path(s)
+ record
+ pijul record -am.
+ cd ..
+ cd ..
+ pijul clone --path a repo a
Repository created at /home/mpech/pijul-tests-data/a
Downloading changes  [==================================================] 16/16 [00:00:00]
Applying changes     [==================================================] 16/16 [00:00:00]            
Error: while retrieving 
GOSXYSPVP3S7GIFNYTRTC2PQRG4JULOHU234PX6MGGGODMBNZGMAC: No such file or directory (os error 2)
$ 
#  GOS is Root record
$ cd ..
$ cd pijul-tests-data
$ pijul clone --path a repo a
Repository created at /home/mpech/pijul-tests-data/a
Downloading changes  [==================================================] 16/16 [00:00:00]
Applying changes     [==================================================] 16/16 [00:00:00]                                                       
Error: while retrieving 
GOSXYSPVP3S7GIFNYTRTC2PQRG4JULOHU234PX6MGGGODMBNZGMAC: No such file or directory (os error 2)
$ 
tankf33der on February 29, 2024

still repeatable.

tankf33der on February 29, 2024
tankf33der on March 1, 2024

freebsd the same.

tankf33der on March 1, 2024

scripts in bash does not work, try manual rerun only!

pmeunier added a change on March 4, 2024
OGJFEWHUMFIZYBS456FPNUN3KEUDZXIJNFGPEMJGQDC7INZMHQZQC
main
pmeunier on March 4, 2024

This is/was due to dependencies being computed in the wrong place: I moved that computation to the remote repository. I haven’t done that on the Nest yet, but if you can confirm this works, let’s turn this issue into “update the Nest”.

tankf33der on March 4, 2024

works now. all tests passed.