Closed aandis closed 1 year ago
Hi @aandis, I've just created a PR https://github.com/codeship/scripts/pull/275 that workarounds the problem with 404 from elasticsearch, there will be a conflict with this one. But check that out, maybe this one is not needed even. Cause I guess this one helps to workaround the same issue, but theoretically helps only if file was successfully downloaded at least once before. My PR covers this too.
The tiny potential issue with current PR I see that wget --continue
will continue to download the file if it was disconnected in the middle (previous time). In that scenario the file will be present, but it is truncated (the size gonna be less than expected). It won't unzip in that case. But I don't know, maybe it doesn't happen anymore. However somebody did add --continue
flag before, so this could be still the case, in theory.
Thanks, this has not continued to be an issue so going to close. We can revisit if it becomes an issue again.
Fix tested.