Replace pyelasticsearch with elasticsearch-py, unless it breaks compatibility with ES 0.90.
Might we be able to postpone this till we move the cluster? I hear that 1.x is very different. Can we even get 0.9x on the various third-party ES providers?
We will move straight to ES 1.4, and we'll need this code before we do, so I might as well do it now. Plus I am working on it in a way that will allow us to keep it working with ES 0.90 anyway.
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/d6a6c834bfd0c08edbbdee84b91e4f0db37c47c8 Fixes bug 1127787 - Created an IndexCleaner class to remove old Elasticsearch indices. r=phrawzty Updated elasticsearch_cleanup cron job to use that class. Made an implementation for ES 0.90 and for ES 1.x.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.