Tokutek / vagrant-tokutek-builder

A vagrant config that has everything you need to build TokuMX and TokuDB from scratch.
MIT License
4 stars 2 forks source link

Error handling needed for git_get steps #3

Closed phils closed 11 years ago

phils commented 11 years ago

In trying this out for the first time, I ran into issues with the git_get failing.

These steps from the provision.sh:

git_get mongo git_get backup-community git_get ft-index pushd ft-index/third_party git_get jemalloc popd git_get ft-engine

More than once, I had the ft-index get fail, due to github error:

RPC failed; result=52, HTTP code = 0 fatal: The remote end hung up

This seems to be a common error with github. It caused the pushd etc to fail afterwards, obviously because it didn't exist.

At this point I had to kill the whole thing and start over (zzz), or login and continue manually.

Maybe catch these errors and retry? It was pretty confusing when it was happening.