clean up Elasticsearch index management code
Categories
(Socorro :: General, task, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(2 files)
The Elasticsearch code is kind of all over everywhere and it'll make upgrading to a more recent Elasticsearch if it was tidier.
For example, there are several Socorro Apps and modules related to deleting indices. One deletes old indices and one deletes all indices and they use and reuse bits and pieces here and there.
Another example is that there are two methods related to creating indices (though they're called indexes there) and neither have helpful docstrings and they're sort of used interchangeably in the code base.
There are multiple configuration settings involved and they're in different places.
This bug covers refactoring index management related code and configuration and putting everything in ConnectionContext.
Assignee | ||
Comment 1•6 years ago
|
||
I just did part of this, so I'm going to grab it and do the rest.
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
This has been deployed to prod.
Description
•