Closed Bug 1546433 Opened 6 years ago Closed 6 years ago

clean up Elasticsearch index management code

Categories

(Socorro :: General, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

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.

I just did part of this, so I'm going to grab it and do the rest.

Assignee: nobody → willkg
Status: NEW → ASSIGNED
Priority: -- → P2

This has been deployed to prod.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: