The sound distributed version control system

#519 can't clone repositories from The Nest: "changestore error"

Closed on December 7, 2021
vlmutolo on August 20, 2021

Whenever I try to clone a repository from The Nest, I get the following error.

Error: Changestore error: failed to fill whole buffer

If I try to clone enough times, eventually it will work. I haven’t tested this extensively. (I’d rather not DoS the Nest.)

I’ve tested this with both pijul 1.0.0-alpha.54 and the head of main as of Fri Aug 20 06:50:23 PM EDT 2021 (is there a better way to refer to the current state of main?).

No idea if this is relevant in any way, but I’m using zstd 1.5.0-1. I know zstd 1.5 has been problematic for certain people. I don’t feel like that’s the problem here.

tankf33der on August 22, 2021

Can not confirm. What repo you are cloning?

vlmutolo on August 25, 2021

I was trying to clone the pijul repository. I just tried again now. Same problem. I also tried with fend and got the same error.

I’ll try to clone it from another machine with a different environment and see if I can reproduce the results. Maybe network speed is a factor here (?). I’m on a somewhat fast connection. It seems unlikely that would be the problem, though.

hpd on October 28, 2021

I also got this issue on the first try:

$ pijul --version                               
pijul 1.0.0-alpha.55
$ pijul clone https://nest.pijul.com/pijul/pijul      
Downloading changes [======================>                           ] 277/623                                       
           Applying [======================>                           ] 277/623                                       
Error: Changestore error: failed to fill whole buffer

also on a fast (uni) connection. Repeating the above command succeeded.

pmeunier added a change on December 7, 2021
7Z3KZV6GY6IKLOWWRM6MVLOPAMP5MSJGQ3TVEZMMCSBVIP4NWRIQC
main
pmeunier on December 7, 2021

Thanks for the report! It happens to me sometimes too, it seems to depend on how far you are from the datacenter. I just pushed a patch to try and fix that, let’s see if it happens again.

If it happens again, feel free to reopen or open a new discussion.

pmeunier closed this discussion on December 7, 2021