flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

S3 verifier cleanup #1129

Closed lkemmerer closed 5 years ago

lkemmerer commented 5 years ago

I'm still running this on iad.dev for a bit and I think I want to force some failures and make sure things recover, but here's a first run at refactoring the S3Verifier. It probably makes sense to walk through the PR commit-by-commit.

Main changes include:

I am not sure that CompletableFutures are the best tool for the job, but it seemed like it was heading in a more positive direction. Someone with deeper knowledge of Java threading, async stuff, and concurrency should probably give me some suggestions.

lkemmerer commented 5 years ago

Thanks for taking a look, @chriskessel! I'll make those changes soonish.